package com.sg.service.biz.bff.impl;

import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.collection.CollectionUtil;
import com.sg.common.util.CommonFunctionHelper;
import com.sg.common.util.RedisUtil;
import com.sg.dto.biz.bff.req.*;
import com.sg.dto.biz.bff.res.*;
import com.sg.dto.integration.app.DocumentDto;
import com.sg.dto.integration.component.QueryConfItemMatchAnswerDetailComReqDto;
import com.sg.dto.integration.component.QueryConfItemMatchAnswerListComReqDto;
import com.sg.service.biz.bff.TaskService;
import com.wicket.okrapp.integration.*;
import com.wicket.okrapp.integration.dto.*;
import com.sg.common.exception.Assert;
import com.wicket.okrbff.common.util.ExportCallBack;
import com.wicket.okrcalc.integration.StandardDataService;
import com.wicket.okrcalc.integration.TargetCalcService;
import com.wicket.okrcalc.integration.FwCalcTaskClient;
import com.wicket.okrcalc.integration.WorkTasksService;
import com.wicket.okrcalc.integration.dto.*;
import com.wicket.okrcomponent.integration.ConfSchemeService;
import com.wicket.okrcomponent.integration.DivineDataService;
import com.wicket.okrcomponent.integration.InterfaceModeService;
import com.wicket.okrcomponent.integration.TemplateEngineService;
import com.wicket.okrcomponent.integration.dto.*;
import com.wicket.okrfinance.integration.FinanceService;
import com.wicket.okrframework.integration.InductionRecordService;
import com.wicket.okrframework.integration.dto.*;
import org.apache.skywalking.apm.toolkit.trace.Tag;
import org.apache.skywalking.apm.toolkit.trace.Tags;
import org.apache.skywalking.apm.toolkit.trace.Trace;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.HashMap;
import java.util.Map;
import java.util.stream.Collectors;

/**
 * @author ：
 * @version 1.0
 * @date ：
 */
@Service
public class TaskServiceImpl implements TaskService {

    @Resource
    private RedisUtil redisUtil;
    @Resource
    com.sg.service.biz.app.BatchService fwAppBatchClient;

    @Resource
    com.sg.service.biz.component.ConfSchemeService fwCompConfSchemeClient;

    @Resource
    com.sg.service.biz.calc.StandardDataService fwCalcStandardDataClient;

    @Resource
    com.sg.service.biz.app.TaskService fwAppTaskClient;

    @Resource
    com.sg.service.biz.app.CycleStageDataService fwAppCycleStageDataClient;

    @Resource
    com.sg.service.biz.app.TargetCycleService fwAppTargetCycleClient;

    @Resource
    com.sg.service.biz.app.TaskGenService fwAppTaskGenClient;

    //@Resource
//  DivineDataService fwBaseDivineDataClient;
    @Resource
    com.sg.service.biz.framework.InductionRecordService fwBaseInductionRecordClient;
    //@Resource
//  EvaThemeService fwAppEvaThemeClient;
    @Resource
    com.sg.service.biz.component.DivineDataService fwCompDivineDataClient;
    @Resource
    com.sg.service.biz.app.EvaSystemService fwAppEvaSystemClient;
    @Resource
    com.sg.service.biz.app.DivineDataService fwAppDivineDataClient;
    @Resource
    com.sg.service.biz.app.ConventionalSchedulingService fwAppConventionalSchedulingClient;
    @Resource
    com.sg.service.biz.app.VirtualOrgService fwAppVirtualOrgClient;
    @Resource
    com.sg.service.biz.finance.FinanceService fwFinanceFinanceClient;
    @Resource
    com.sg.service.biz.app.FinanceService fwAppFinanceClient;
    @Resource
    com.sg.service.biz.calc.WorkTasksService fwCalcWorkTasksClient;
    @Resource
    com.sg.service.biz.app.MessageService fwAppMessageClient;
    @Resource
    com.sg.service.biz.app.EvaThemeService fwAppEvaThemeClient;
    @Resource
    com.sg.service.biz.calc.TaskService fwCalcTaskClient;
    @Resource
    com.sg.service.biz.calc.TargetCalcService fwCalcTargetCalcClient;
    @Resource
    com.sg.service.biz.app.TargetCalcService fwAppTargetCalcClient;
    @Resource
    com.sg.service.biz.app.GridCalculateService fwAppGridCalculateClient;
    @Resource
    com.sg.service.biz.component.InterfaceModeService fwCompInterfaceModeClient;

    @Resource
    com.sg.service.biz.component.TemplateEngineService fwCompTemplateEngineClient;

    /**
     * B3-查询汇报任务列表[2573]
     * gen by moon at 7/14/2024, 6:49:14 PM
     */
    @Trace(operationName = "B3-查询汇报任务列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryTaskReportedToMeListRespDto queryTaskReportedToMeList(BffQueryTaskReportedToMeListReqDto reqDto) {


        QueryReportingTaskListRespDto queryReportingTaskListRespDto_1 = null;
        QueryListByTimeSliceContentVirtualOrgMemberComRespDto queryListByTimeSliceContentVirtualOrgMemberComRespDto_1 = null;
//步骤0: D3-查询汇报任务列表 - queryReportingTaskList
        QueryReportingTaskListRespDto queryReportingTaskListRespDto = null;
        QueryReportingTaskListReqDto queryReportingTaskListReqDto = new QueryReportingTaskListReqDto();
        if (reqDto != null) {
            queryReportingTaskListReqDto.setIsPersonCharge(reqDto.getIsPersonCharge());//SimpleFieldAssign//sourceId:1475593_1
            queryReportingTaskListReqDto.setRoleCode(reqDto.getRoleCode());//SimpleFieldAssign//sourceId:515525_1
            queryReportingTaskListReqDto.setBusinessOperationTypeCode(reqDto.getBusinessOperationTypeCode());//SimpleFieldAssign//sourceId:1479041_1
            queryReportingTaskListReqDto.setIsUpperLowerLevels(reqDto.getIsUpperLowerLevels());//SimpleFieldAssign//sourceId:1475597_1
            queryReportingTaskListReqDto.setStateCode(reqDto.getStateCode());//SimpleFieldAssign//sourceId:1448404_1
            queryReportingTaskListReqDto.setTaskStatus(reqDto.getTaskStatus());//SimpleFieldAssign//sourceId:1477054_1
            queryReportingTaskListReqDto.setIsComplete(reqDto.getIsComplete());//SimpleFieldAssign//sourceId:515521_1
            queryReportingTaskListReqDto.setIsOverdue(reqDto.getIsOverdue());//SimpleFieldAssign//sourceId:515522_1
            queryReportingTaskListReqDto.setQuestionDataTypeCode(reqDto.getQuestionDataTypeCode());//SimpleFieldAssign//sourceId:1925495_1
            queryReportingTaskListReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:515526_1
        }

        /*D3-查询汇报任务列表[2574]   */
        Assert.isNull(queryReportingTaskListReqDto.getEvaluationTemplateId(), "B3-查询汇报任务列表-D3-查询汇报任务列表-冗余评价模板ID不能为空", false);
        queryReportingTaskListRespDto = fwAppTaskClient.queryReportingTaskList(queryReportingTaskListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryReportingTaskListRespDto_1 = queryReportingTaskListRespDto;

//步骤1: D3-时间切片查询内容匹配虚拟成员列表(公共) - queryListByTimeSliceContentVirtualOrgMemberCom
        QueryListByTimeSliceContentVirtualOrgMemberComRespDto queryListByTimeSliceContentVirtualOrgMemberComRespDto = null;
        if (queryReportingTaskListRespDto != null) {
            QueryListByTimeSliceContentVirtualOrgMemberComReqDto queryListByTimeSliceContentVirtualOrgMemberComReqDto = new QueryListByTimeSliceContentVirtualOrgMemberComReqDto();
            //todo dong 未找到匹配生成策略,请检查生成策略queryListByTimeSliceContentVirtualOrgMemberComReqDto.setVirtualOrgMemberList(queryReportingTaskListRespDto.getReportingTaskList()),数据源项; to( ==>tableName:undefined, fieldEnname:virtualOrgMemberList ,uniqueId: 1072643_1 uniqueSourceId:519356_1) from (varName:undefined fieldqueryReportingTaskListRespDto.getReportingTaskList())
            // TODO: 2023/6/30 解决上面大todo
            queryListByTimeSliceContentVirtualOrgMemberComReqDto.setVirtualOrgMemberList(queryReportingTaskListRespDto_1.getReportingTaskList().stream().map(t -> {
                VirtualOrgMemberDto elm = new VirtualOrgMemberDto();
                elm.setVirtualOrgId(t.getVirtualOrgId());
                elm.setInductionStartTime(t.getActualStartTime());
                elm.setInductionEndTime(t.getActualStartTime());
                return elm;
            }).collect(Collectors.toList()));
            queryListByTimeSliceContentVirtualOrgMemberComReqDto.setIsPersonCharge("TRUE");//sourceId:1072645_1
            queryListByTimeSliceContentVirtualOrgMemberComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1558545_1
            if (reqDto != null) {
                queryListByTimeSliceContentVirtualOrgMemberComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1072650_1
            }

            /*D3-时间切片查询内容负责人列表(公共)[7276]   */
            Assert.isNull(queryListByTimeSliceContentVirtualOrgMemberComReqDto.getIsPersonCharge(), "B3-查询汇报任务列表-D3-时间切片查询内容负责人列表(公共)-是否负责人不能为空", false);
            Assert.isNull(queryListByTimeSliceContentVirtualOrgMemberComReqDto.getSubjectLifeCycle(), "B3-查询汇报任务列表-D3-时间切片查询内容负责人列表(公共)-主体生命周期不能为空", false);
            Assert.isNull(queryListByTimeSliceContentVirtualOrgMemberComReqDto.getEvaluationTemplateId(), "B3-查询汇报任务列表-D3-时间切片查询内容负责人列表(公共)-归属对象ID不能为空", false);
            queryListByTimeSliceContentVirtualOrgMemberComRespDto = fwAppVirtualOrgClient.queryListByTimeSliceContentVirtualOrgMemberCom(queryListByTimeSliceContentVirtualOrgMemberComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            queryListByTimeSliceContentVirtualOrgMemberComRespDto_1 = queryListByTimeSliceContentVirtualOrgMemberComRespDto;
        }

        BffQueryTaskReportedToMeListRespDto retData = new BffQueryTaskReportedToMeListRespDto();
        //数据集融合  MoreListToOneSource
        if (queryReportingTaskListRespDto_1 != null && !CollectionUtil.isEmpty(queryReportingTaskListRespDto_1.getReportingTaskList())) {
            for (ReportingTaskDto reportingTaskDto : queryReportingTaskListRespDto_1.getReportingTaskList()) {
                BffReportingTaskDto retElm = new BffReportingTaskDto();
                if (queryReportingTaskListRespDto_1 != null) {
                    retElm.setTaskId(reportingTaskDto.getTaskId());//SimpleFieldAssign//sourceId:292979_2
                    retElm.setTaskNumber(reportingTaskDto.getTaskNumber());//SimpleFieldAssign//sourceId:292980_2
                    retElm.setTaskName(reportingTaskDto.getTaskName());//SimpleFieldAssign//sourceId:292981_2
                    retElm.setPlanStartTime(reportingTaskDto.getPlanStartTime());//SimpleFieldAssign//sourceId:292982_2
                    retElm.setPlanEndTime(reportingTaskDto.getPlanEndTime());//SimpleFieldAssign//sourceId:292983_2
                    retElm.setActualStartTime(reportingTaskDto.getActualStartTime());//SimpleFieldAssign//sourceId:292984_2
                    retElm.setActualEndTime(reportingTaskDto.getActualEndTime());//SimpleFieldAssign//sourceId:292985_2
                    retElm.setCycleId(reportingTaskDto.getCycleId());//SimpleFieldAssign//sourceId:292986_2
                    retElm.setCycleStandardName(reportingTaskDto.getCycleStandardName());//SimpleFieldAssign//sourceId:292987_2
                    retElm.setCycleStartTime(reportingTaskDto.getCycleStartTime());//SimpleFieldAssign//sourceId:292988_2
                    retElm.setCycleEndTime(reportingTaskDto.getCycleEndTime());//SimpleFieldAssign//sourceId:292989_2
                    retElm.setCycleTypeCode(reportingTaskDto.getCycleTypeCode());//SimpleFieldAssign//sourceId:292990_2
                    retElm.setCycleTypeName(reportingTaskDto.getCycleTypeName());//SimpleFieldAssign//sourceId:292991_2
                    retElm.setCycleNumberShortName(reportingTaskDto.getCycleNumberShortName());//SimpleFieldAssign//sourceId:292992_2
                    retElm.setCycleTypeInstanceCode(reportingTaskDto.getCycleTypeInstanceCode());//SimpleFieldAssign//sourceId:292993_2
                    retElm.setIsPlanReceptionCycle(reportingTaskDto.getIsPlanReceptionCycle());//SimpleFieldAssign//sourceId:292994_2
                    retElm.setIsDoneEvaluate(reportingTaskDto.getIsDoneEvaluate());//SimpleFieldAssign//sourceId:292995_2
                    retElm.setIsDoneFilleout(reportingTaskDto.getIsDoneFilleout());//SimpleFieldAssign//sourceId:292996_2
                    retElm.setTableTypeCode(reportingTaskDto.getTableTypeCode());//SimpleFieldAssign//sourceId:292997_2
                    retElm.setEntityId(reportingTaskDto.getEntityId());//SimpleFieldAssign//sourceId:292998_2
                    retElm.setParentTableTypeCode(reportingTaskDto.getParentTableTypeCode());//SimpleFieldAssign//sourceId:292999_2
                    retElm.setParentEntityId(reportingTaskDto.getParentEntityId());//SimpleFieldAssign//sourceId:293000_2
                    retElm.setThemeContentTypeCode(reportingTaskDto.getThemeContentTypeCode());//SimpleFieldAssign//sourceId:293001_2
                    retElm.setThemeContentId(reportingTaskDto.getThemeContentId());//SimpleFieldAssign//sourceId:293002_2
                    retElm.setTargetCycleContentTypeCode(reportingTaskDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:293003_2
                    retElm.setTargetCycleContentId(reportingTaskDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:293004_2
                    retElm.setTargetId(reportingTaskDto.getTargetId());//SimpleFieldAssign//sourceId:293005_2
                    retElm.setBizAppCode(reportingTaskDto.getBizAppCode());//SimpleFieldAssign//sourceId:293006_2
                    retElm.setBizSceneCode(reportingTaskDto.getBizSceneCode());//SimpleFieldAssign//sourceId:293007_2
                    retElm.setVirtualOrgId(reportingTaskDto.getVirtualOrgId());//SimpleFieldAssign//sourceId:293008_2
                    retElm.setTaskStatus(reportingTaskDto.getTaskStatus());//SimpleFieldAssign//sourceId:293009_2
                    retElm.setIsComplete(reportingTaskDto.getIsComplete());//SimpleFieldAssign//sourceId:293010_2
                    retElm.setCompleteStatus(reportingTaskDto.getCompleteStatus());//SimpleFieldAssign//sourceId:293011_2
                    retElm.setIsOverdue(reportingTaskDto.getIsOverdue());//SimpleFieldAssign//sourceId:293012_2
                    retElm.setStateCode(reportingTaskDto.getStateCode());//SimpleFieldAssign//sourceId:293042_2
                    retElm.setIsSystemTask(reportingTaskDto.getIsSystemTask());//SimpleFieldAssign//sourceId:293013_2
                    retElm.setIsAutoReport(reportingTaskDto.getIsAutoReport());//SimpleFieldAssign//sourceId:293014_2
                    retElm.setIsReplenishReport(reportingTaskDto.getIsReplenishReport());//SimpleFieldAssign//sourceId:293015_2
                    retElm.setApplyDelayDays(reportingTaskDto.getApplyDelayDays());//SimpleFieldAssign//sourceId:293016_2
                    retElm.setReplenishDelayDays(reportingTaskDto.getReplenishDelayDays());//SimpleFieldAssign//sourceId:293017_2
                    retElm.setActualDelayDays(reportingTaskDto.getActualDelayDays());//SimpleFieldAssign//sourceId:293018_2
                    retElm.setActualDelayTime(reportingTaskDto.getActualDelayTime());//SimpleFieldAssign//sourceId:293019_2
                    retElm.setPercentageProgress(reportingTaskDto.getPercentageProgress());//SimpleFieldAssign//sourceId:293020_2
                    retElm.setDeflectionInfo(reportingTaskDto.getDeflectionInfo());//SimpleFieldAssign//sourceId:293021_2
                    retElm.setQuestionDataTypeCode(reportingTaskDto.getQuestionDataTypeCode());//SimpleFieldAssign//sourceId:392827_2
                    retElm.setSubjectLifeCycle(reportingTaskDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:293022_2
                    retElm.setOperateTime(reportingTaskDto.getOperateTime());//SimpleFieldAssign//sourceId:293023_2
                    retElm.setCreateTime(reportingTaskDto.getCreateTime());//SimpleFieldAssign//sourceId:293024_2
                }
                retData.getReportingTaskList().add(retElm);
                if (queryListByTimeSliceContentVirtualOrgMemberComRespDto_1 != null) {
                    for (VirtualOrgMemberDto virtualOrgMemberDto : queryListByTimeSliceContentVirtualOrgMemberComRespDto_1.getVirtualOrgMemberList()) {
                        if (virtualOrgMemberDto.getVirtualOrgId().equals(reportingTaskDto.getVirtualOrgId())) {
                            if (queryListByTimeSliceContentVirtualOrgMemberComRespDto_1 != null) {
                                retElm.setVirtualOrgMemberId(virtualOrgMemberDto.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:293032_2
                                retElm.setVirtualOrgInductionRecordId(virtualOrgMemberDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:293025_2
                                retElm.setOriginalRoleMemberId(virtualOrgMemberDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:293033_2
                                retElm.setUserId(virtualOrgMemberDto.getUserId());//SimpleFieldAssign//sourceId:293034_2
                                retElm.setUserFace(virtualOrgMemberDto.getUserFace());//SimpleFieldAssign//sourceId:293027_2
                                retElm.setIdCardName(virtualOrgMemberDto.getIdCardName());//SimpleFieldAssign//sourceId:293026_2
                                retElm.setNickName(virtualOrgMemberDto.getNickName());//SimpleFieldAssign//sourceId:293035_2
                            }
                        }
                    }
                }

            }
        }//sourceId:1475610_1
        if (queryReportingTaskListRespDto_1 != null) {
            retData.setTotals(queryReportingTaskListRespDto_1.getTotals());//SimpleFieldAssign//sourceId:1475860_1
        }


        retData.setPageNum(queryReportingTaskListRespDto.getPageNum());
        retData.setPageSize(queryReportingTaskListRespDto.getPageSize());
        retData.setTotal(queryReportingTaskListRespDto.getTotalNum());
        retData.setIsLastPage((Math.ceil(Double.valueOf(queryReportingTaskListRespDto.getTotalNum()) / Double.valueOf(queryReportingTaskListRespDto.getPageSize()))) <= retData.getPageNum());


        return retData;
    }

    /**
     * B3-查询我相关的任务列表[2581]
     * gen by moon at 1/7/2024, 3:03:02 AM
     */
    @Trace(operationName = "B3-查询我相关的任务列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryTaskRelatedListRespDto queryTaskRelatedList(BffQueryTaskRelatedListReqDto reqDto) {


//       QueryTaskRelatedListRespDto queryTaskRelatedListRespDto_1 =null;
//QueryListByTimeSliceContentVirtualOrgMemberComRespDto queryListByTimeSliceContentVirtualOrgMemberComRespDto_1 =null;
////步骤0: D3-查询我相关的任务列表 - queryTaskRelatedList
//     QueryTaskRelatedListRespDto queryTaskRelatedListRespDto = null;
//    QueryTaskRelatedListReqDto queryTaskRelatedListReqDto=new QueryTaskRelatedListReqDto();
//  if(reqDto!=null){
//queryTaskRelatedListReqDto.setIsDoneFilleout(reqDto.getIsDoneFilleout());//SimpleFieldAssign//sourceId:536313_1
//queryTaskRelatedListReqDto.setIsDoneEvaluate(reqDto.getIsDoneEvaluate());//SimpleFieldAssign//sourceId:536314_1
//queryTaskRelatedListReqDto.setStateCode(reqDto.getStateCode());//SimpleFieldAssign//sourceId:1448399_1
//queryTaskRelatedListReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:517546_1
//    }
//
//    /*D3-查询我相关的任务列表[2583]   */
//    Assert.isNull(queryTaskRelatedListReqDto.getEvaluationTemplateId(),"B3-查询我相关的任务列表-D3-查询我相关的任务列表-冗余评价模板ID不能为空",false);
//      queryTaskRelatedListRespDto = fwAppTaskClient.queryTaskRelatedList(queryTaskRelatedListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
//
//
//      queryTaskRelatedListRespDto_1 = queryTaskRelatedListRespDto;
//
////步骤1: D3-时间切片查询内容匹配虚拟成员列表(公共) - queryListByTimeSliceContentVirtualOrgMemberCom
//     QueryListByTimeSliceContentVirtualOrgMemberComRespDto queryListByTimeSliceContentVirtualOrgMemberComRespDto = null;
//    if(queryTaskRelatedListRespDto !=null){
//          QueryListByTimeSliceContentVirtualOrgMemberComReqDto queryListByTimeSliceContentVirtualOrgMemberComReqDto=new QueryListByTimeSliceContentVirtualOrgMemberComReqDto();
//  //todo dong 未找到匹配生成策略,请检查生成策略queryListByTimeSliceContentVirtualOrgMemberComReqDto.setVirtualOrgMemberList(queryTaskRelatedListRespDto.getReportingTaskList()),数据源项; to( ==>tableName:undefined, fieldEnname:virtualOrgMemberList ,uniqueId: 1075186_1 uniqueSourceId:536315_1) from (varName:undefined fieldqueryTaskRelatedListRespDto.getReportingTaskList())
//
//        queryListByTimeSliceContentVirtualOrgMemberComReqDto.setVirtualOrgMemberList(queryTaskRelatedListRespDto.getReportingTaskList().stream().map(t->{
//            VirtualOrgMemberDto elm = new VirtualOrgMemberDto();
//            elm.setVirtualOrgId(t.getVirtualOrgId());
//            elm.setInductionStartTime(t.getActualStartTime());
//            elm.setInductionEndTime(t.getActualStartTime());
//            return elm;
//        }).collect(Collectors.toList()));
//        queryListByTimeSliceContentVirtualOrgMemberComReqDto.setIsPersonCharge("TRUE");//sourceId:1075188_1
//queryListByTimeSliceContentVirtualOrgMemberComReqDto.setEvaluationTemplateType("EVA_TEMP");//sourceId:1075192_1
//if(reqDto!=null){
//      queryListByTimeSliceContentVirtualOrgMemberComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1075193_1
//    }
//
//    /*D3-时间切片查询内容负责人列表(公共)[7276]   */
//    Assert.isNull(queryListByTimeSliceContentVirtualOrgMemberComReqDto.getIsPersonCharge(),"B3-查询我相关的任务列表-D3-时间切片查询内容负责人列表(公共)-是否负责人不能为空",false);
//Assert.isNull(queryListByTimeSliceContentVirtualOrgMemberComReqDto.getEvaluationTemplateType(),"B3-查询我相关的任务列表-D3-时间切片查询内容负责人列表(公共)-归属对象类型不能为空",false);
//Assert.isNull(queryListByTimeSliceContentVirtualOrgMemberComReqDto.getEvaluationTemplateId(),"B3-查询我相关的任务列表-D3-时间切片查询内容负责人列表(公共)-归属对象ID不能为空",false);
//      queryListByTimeSliceContentVirtualOrgMemberComRespDto = fwAppVirtualOrgClient.queryListByTimeSliceContentVirtualOrgMemberCom(queryListByTimeSliceContentVirtualOrgMemberComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
//
//
//      queryListByTimeSliceContentVirtualOrgMemberComRespDto_1 = queryListByTimeSliceContentVirtualOrgMemberComRespDto;
//           }
//
////步骤2: D3-执行任务逾期调度(公共) - implementTaskOverdueEtcCom
//     ImplementTaskOverdueEtcComRespDto implementTaskOverdueEtcComRespDto = null;
//    if(queryTaskRelatedListRespDto !=null){
//          ImplementTaskOverdueEtcComReqDto implementTaskOverdueEtcComReqDto=new ImplementTaskOverdueEtcComReqDto();
//  implementTaskOverdueEtcComReqDto.setOperationInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:1048650_1
//implementTaskOverdueEtcComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1048651_1
//implementTaskOverdueEtcComReqDto.setAppId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecAppId());//CURRENT_APPID//sourceId:1048652_1
//if(queryTaskRelatedListRespDto!=null){
//      implementTaskOverdueEtcComReqDto.setReportingTaskList(queryTaskRelatedListRespDto.getReportingTaskList());//list-field-assign//sourceId:1048647_1
//    }
//if(reqDto!=null){
//implementTaskOverdueEtcComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1048649_1
//    }
//
//    /*D3-执行任务逾期调度(公共)[6604]   */
//Assert.isNull(implementTaskOverdueEtcComReqDto.getEvaluationTemplateId(),"B3-查询我相关的任务列表-D3-执行任务逾期调度(公共)-冗余评价模板ID不能为空",false);
//Assert.isNull(implementTaskOverdueEtcComReqDto.getOperationInductionId(),"B3-查询我相关的任务列表-D3-执行任务逾期调度(公共)-操作人就职记录ID不能为空",false);
//Assert.isNull(implementTaskOverdueEtcComReqDto.getSpaceId(),"B3-查询我相关的任务列表-D3-执行任务逾期调度(公共)-创建于空间ID不能为空",false);
//Assert.isNull(implementTaskOverdueEtcComReqDto.getAppId(),"B3-查询我相关的任务列表-D3-执行任务逾期调度(公共)-创建于联盟应用ID不能为空",false);
//      implementTaskOverdueEtcComRespDto = fwAppConventionalSchedulingClient.implementTaskOverdueEtcCom(implementTaskOverdueEtcComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
//
//
//
//           }
//
////步骤3: D3-托底更新内容状态消息数量(公共) - bottomUpdateNumberContentStatusMessagesCom
//     BottomUpdateNumberContentStatusMessagesComRespDto bottomUpdateNumberContentStatusMessagesComRespDto = null;
//    if(queryTaskRelatedListRespDto !=null){
//          BottomUpdateNumberContentStatusMessagesComReqDto bottomUpdateNumberContentStatusMessagesComReqDto=new BottomUpdateNumberContentStatusMessagesComReqDto();
//  bottomUpdateNumberContentStatusMessagesComReqDto.setSceneOfUpdateStatus("SCENE_OF_REPORT_TASK");//sourceId:1435754_1
//bottomUpdateNumberContentStatusMessagesComReqDto.setReportTaskEvaRoom("TASK_RELATED_TO_ME");//sourceId:1435759_1
//if(reqDto!=null){
//      bottomUpdateNumberContentStatusMessagesComReqDto.setIsDoneFilleout(reqDto.getIsDoneFilleout());//SimpleFieldAssign//sourceId:1435753_1
//bottomUpdateNumberContentStatusMessagesComReqDto.setIsDoneEvaluate(reqDto.getIsDoneEvaluate());//SimpleFieldAssign//sourceId:1435752_1
//bottomUpdateNumberContentStatusMessagesComReqDto.setMsgNumberSubjectId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1435757_1
//bottomUpdateNumberContentStatusMessagesComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1435760_1
//    }
//if(queryTaskRelatedListRespDto!=null){
//      bottomUpdateNumberContentStatusMessagesComReqDto.setTotals(queryTaskRelatedListRespDto.getTotals());//SimpleFieldAssign//sourceId:1435756_1
//    }
//
//    /*D3-托底更新内容状态消息数量(公共)[8076]   */
//    Assert.isNull(bottomUpdateNumberContentStatusMessagesComReqDto.getSceneOfUpdateStatus(),"B3-查询我相关的任务列表-D3-托底更新内容状态消息数量(公共)-状态更新使用场景不能为空",false);
//Assert.isNull(bottomUpdateNumberContentStatusMessagesComReqDto.getReportTaskEvaRoom(),"B3-查询我相关的任务列表-D3-托底更新内容状态消息数量(公共)-汇报任务评价房间不能为空",false);
//Assert.isNull(bottomUpdateNumberContentStatusMessagesComReqDto.getMsgNumberSubjectId(),"B3-查询我相关的任务列表-D3-托底更新内容状态消息数量(公共)-消息数量主体ID不能为空",false);
//Assert.isNull(bottomUpdateNumberContentStatusMessagesComReqDto.getTotals(),"B3-查询我相关的任务列表-D3-托底更新内容状态消息数量(公共)-数据总条数不能为空",false);
//Assert.isNull(bottomUpdateNumberContentStatusMessagesComReqDto.getEvaluationTemplateId(),"B3-查询我相关的任务列表-D3-托底更新内容状态消息数量(公共)-冗余评价模板ID不能为空",false);
//      bottomUpdateNumberContentStatusMessagesComRespDto = fwAppMessageClient.bottomUpdateNumberContentStatusMessagesCom(bottomUpdateNumberContentStatusMessagesComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
//
//
//
//           }
//
//BffQueryTaskRelatedListRespDto retData = new BffQueryTaskRelatedListRespDto();
//  //数据集融合  MoreListToOneSource
//        if(queryTaskRelatedListRespDto_1!= null && !CollectionUtil.isEmpty(queryTaskRelatedListRespDto_1.getReportingTaskList()) ){
//          for (ReportingTaskDto reportingTaskDto : queryTaskRelatedListRespDto_1.getReportingTaskList()) {
//              BffReportingTaskDto retElm = new BffReportingTaskDto();
//             if(queryTaskRelatedListRespDto_1!=null){
//      retElm.setTaskId(reportingTaskDto.getTaskId());//SimpleFieldAssign//sourceId:138124_2
//retElm.setTaskNumber(reportingTaskDto.getTaskNumber());//SimpleFieldAssign//sourceId:138125_2
//retElm.setTaskName(reportingTaskDto.getTaskName());//SimpleFieldAssign//sourceId:138126_2
//retElm.setBizAppCode(reportingTaskDto.getBizAppCode());//SimpleFieldAssign//sourceId:138127_2
//retElm.setBizSceneCode(reportingTaskDto.getBizSceneCode());//SimpleFieldAssign//sourceId:138128_2
//retElm.setTableTypeCode(reportingTaskDto.getTableTypeCode());//SimpleFieldAssign//sourceId:138129_2
//retElm.setEntityId(reportingTaskDto.getEntityId());//SimpleFieldAssign//sourceId:138130_2
//retElm.setParentTableTypeCode(reportingTaskDto.getParentTableTypeCode());//SimpleFieldAssign//sourceId:138131_2
//retElm.setParentEntityId(reportingTaskDto.getParentEntityId());//SimpleFieldAssign//sourceId:138132_2
//retElm.setTargetCycleContentTypeCode(reportingTaskDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:138133_2
//retElm.setTargetCycleContentId(reportingTaskDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:138134_2
//retElm.setThemeContentTypeCode(reportingTaskDto.getThemeContentTypeCode());//SimpleFieldAssign//sourceId:138135_2
//retElm.setThemeContentId(reportingTaskDto.getThemeContentId());//SimpleFieldAssign//sourceId:138136_2
//retElm.setIsDoneFilleout(reportingTaskDto.getIsDoneFilleout());//SimpleFieldAssign//sourceId:138137_2
//retElm.setIsDoneEvaluate(reportingTaskDto.getIsDoneEvaluate());//SimpleFieldAssign//sourceId:138138_2
//retElm.setTaskStatus(reportingTaskDto.getTaskStatus());//SimpleFieldAssign//sourceId:138139_2
//retElm.setIsComplete(reportingTaskDto.getIsComplete());//SimpleFieldAssign//sourceId:138140_2
//retElm.setCompleteStatus(reportingTaskDto.getCompleteStatus());//SimpleFieldAssign//sourceId:138141_2
//retElm.setIsOverdue(reportingTaskDto.getIsOverdue());//SimpleFieldAssign//sourceId:138142_2
//retElm.setCycleId(reportingTaskDto.getCycleId());//SimpleFieldAssign//sourceId:138143_2
//retElm.setStateCode(reportingTaskDto.getStateCode());//SimpleFieldAssign//sourceId:290877_2
//retElm.setCycleStandardName(reportingTaskDto.getCycleStandardName());//SimpleFieldAssign//sourceId:138144_2
//retElm.setCycleStartTime(reportingTaskDto.getCycleStartTime());//SimpleFieldAssign//sourceId:140884_2
//retElm.setCycleEndTime(reportingTaskDto.getCycleEndTime());//SimpleFieldAssign//sourceId:140885_2
//retElm.setCycleTypeCode(reportingTaskDto.getCycleTypeCode());//SimpleFieldAssign//sourceId:140886_2
//retElm.setCycleTypeName(reportingTaskDto.getCycleTypeName());//SimpleFieldAssign//sourceId:140887_2
//retElm.setCycleTypeInstanceCode(reportingTaskDto.getCycleTypeInstanceCode());//SimpleFieldAssign//sourceId:140888_2
//retElm.setCycleNumberShortName(reportingTaskDto.getCycleNumberShortName());//SimpleFieldAssign//sourceId:140889_2
//retElm.setPlanStartTime(reportingTaskDto.getPlanStartTime());//SimpleFieldAssign//sourceId:138145_2
//retElm.setPlanEndTime(reportingTaskDto.getPlanEndTime());//SimpleFieldAssign//sourceId:138146_2
//retElm.setActualStartTime(reportingTaskDto.getActualStartTime());//SimpleFieldAssign//sourceId:138147_2
//retElm.setActualEndTime(reportingTaskDto.getActualEndTime());//SimpleFieldAssign//sourceId:138148_2
//retElm.setPercentageProgress(reportingTaskDto.getPercentageProgress());//SimpleFieldAssign//sourceId:138149_2
//retElm.setDeflectionInfo(reportingTaskDto.getDeflectionInfo());//SimpleFieldAssign//sourceId:138150_2
//retElm.setSubjectLifeCycle(reportingTaskDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:138151_2
//retElm.setOperateTime(reportingTaskDto.getOperateTime());//SimpleFieldAssign//sourceId:138152_2
//retElm.setVirtualOrgInductionRecordId(reportingTaskDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:226631_2
//    }
//              retData.getReportingTaskList().add(retElm);
//               if(queryListByTimeSliceContentVirtualOrgMemberComRespDto_1!= null){
//          for (VirtualOrgMemberDto virtualOrgMemberDto : queryListByTimeSliceContentVirtualOrgMemberComRespDto_1.getVirtualOrgMemberList()) {
//                if (virtualOrgMemberDto.getVirtualOrgId().equals(reportingTaskDto.getVirtualOrgId())) {
//                 if(queryListByTimeSliceContentVirtualOrgMemberComRespDto_1!=null){
//      retElm.setNickName(virtualOrgMemberDto.getNickName());//SimpleFieldAssign//sourceId:226632_2
//retElm.setIdCardName(virtualOrgMemberDto.getIdCardName());//SimpleFieldAssign//sourceId:226633_2
//retElm.setUserFace(virtualOrgMemberDto.getUserFace());//SimpleFieldAssign//sourceId:226634_2
//    }
//                }
//            }
//          }
//
//          }
//        }//sourceId:536318_1
//if(queryTaskRelatedListRespDto_1!=null){
//      retData.setTotals(queryTaskRelatedListRespDto_1.getTotals());//SimpleFieldAssign//sourceId:1396343_1
//    }
//
//
//  retData.setPageNum(queryTaskRelatedListRespDto.getPageNum());
//        retData.setPageSize(queryTaskRelatedListRespDto.getPageSize());
//        retData.setTotal(queryTaskRelatedListRespDto.getTotalNum());
//        retData.setIsLastPage((Math.ceil(Double.valueOf(queryTaskRelatedListRespDto.getTotalNum()) / Double.valueOf(queryTaskRelatedListRespDto.getPageSize()))) <= retData.getPageNum());
//
//
        return null;
    }

    /**
     * B3-暂存我汇报的任务[2701]
     * gen by moon at 6/11/2024, 6:47:15 AM
     */
    @Trace(operationName = "B3-暂存我汇报的任务")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffTempStorageTaskReportRespDto tempStorageTaskReport(BffTempStorageTaskReportReqDto reqDto) {


        //virtualUsage D3-操作汇报任务权限校验(公共)  37172
        TempStorageTaskReportPermissionVerificationComRespDto tempStorageTaskReportPermissionVerificationComRespDto = null;
        TempStorageTaskReportPermissionVerificationComReqDto tempStorageTaskReportPermissionVerificationComReqDto = new TempStorageTaskReportPermissionVerificationComReqDto();
        if (reqDto != null) {
            tempStorageTaskReportPermissionVerificationComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:836592_1_37172
        }

        /*D3-操作汇报任务权限校验(公共)[6302]   */
        Assert.isNull(tempStorageTaskReportPermissionVerificationComReqDto.getEvaluationTemplateId(), "B3-暂存我汇报的任务-D3-操作汇报任务权限校验(公共)-冗余评价模板ID不能为空", false);
        tempStorageTaskReportPermissionVerificationComRespDto = fwAppTaskClient.tempStorageTaskReportPermissionVerificationCom(tempStorageTaskReportPermissionVerificationComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//virtualUsage D3-判断当前汇报人是否负责人(公共)  69898
        JudgeCurReporterIsPersonLiableComRespDto judgeCurReporterIsPersonLiableComRespDto = null;
        JudgeCurReporterIsPersonLiableComReqDto judgeCurReporterIsPersonLiableComReqDto = new JudgeCurReporterIsPersonLiableComReqDto();
        judgeCurReporterIsPersonLiableComReqDto.setUseScene("TARGET_PLAN_SCENE");//sourceId:1863330_1_69898
        if (reqDto != null) {
            judgeCurReporterIsPersonLiableComReqDto.setEntityId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1863328_1_69898
            judgeCurReporterIsPersonLiableComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1863329_1_69898
        }

        /*D3-判断当前汇报人是否负责人(公共)[8537]   */
        Assert.isNull(judgeCurReporterIsPersonLiableComReqDto.getEntityId(), "B3-暂存我汇报的任务-D3-判断当前汇报人是否负责人(公共)-冗余内容表主键ID不能为空", false);
        Assert.isNull(judgeCurReporterIsPersonLiableComReqDto.getEvaluationTemplateId(), "B3-暂存我汇报的任务-D3-判断当前汇报人是否负责人(公共)-归属对象ID不能为空", false);
        Assert.isNull(judgeCurReporterIsPersonLiableComReqDto.getUseScene(), "B3-暂存我汇报的任务-D3-判断当前汇报人是否负责人(公共)-虚拟组织使用场景不能为空", false);
        judgeCurReporterIsPersonLiableComRespDto = fwAppVirtualOrgClient.judgeCurReporterIsPersonLiableCom(judgeCurReporterIsPersonLiableComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//virtualUsage D3-7提交汇报任务(公共)  37171
        CommitReportingTaskComRespDto commitReportingTaskComRespDto = null;
        CommitReportingTaskComReqDto commitReportingTaskComReqDto = new CommitReportingTaskComReqDto();
        commitReportingTaskComReqDto.setIsActualReceptionCycle("FALSE");//sourceId:527495_1_37171
        commitReportingTaskComReqDto.setSubjectLifeCycle("EDITING");//sourceId:536569_1_37171
        if (reqDto != null) {
            commitReportingTaskComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:527489_1_37171
            commitReportingTaskComReqDto.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:527490_1_37171
            commitReportingTaskComReqDto.setTaskId(reqDto.getTaskId());//SimpleFieldAssign//sourceId:527491_1_37171
            commitReportingTaskComReqDto.setStaWorSumCon(reqDto.getStaWorSumCon());//SimpleFieldAssign//sourceId:527492_1_37171
            commitReportingTaskComReqDto.setTextSummaryData(reqDto.getTextSummaryData());//SimpleFieldAssign//sourceId:1072572_1_37171
            commitReportingTaskComReqDto.setSumOfPro(reqDto.getSumOfPro());//SimpleFieldAssign//sourceId:527493_1_37171
            commitReportingTaskComReqDto.setSolvingIdeas(reqDto.getSolvingIdeas());//SimpleFieldAssign//sourceId:527494_1_37171
            commitReportingTaskComReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:777314_1_37171
            commitReportingTaskComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:527497_1_37171
        }
        if (reqDto != null && reqDto.getDocumentList() != null && !CollectionUtil.isEmpty(reqDto.getDocumentList())) {
            commitReportingTaskComReqDto.setDocumentList(reqDto.getDocumentList().stream().map(item -> BeanUtil.toBean(item, DocumentDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:527498_1_37171
        }
        if (reqDto != null && reqDto.getCycleStageDataAttDocList() != null && !CollectionUtil.isEmpty(reqDto.getCycleStageDataAttDocList())) {
            commitReportingTaskComReqDto.setCycleStageDataAttDocList(reqDto.getCycleStageDataAttDocList().stream().map(item -> BeanUtil.toBean(item, CycleStageDataAttDocDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:777313_1_37171
        }

        /*D3-7提交汇报任务(公共)[2703]   */
        Assert.isNull(commitReportingTaskComReqDto.getEvaObjTargetCycleId(), "B3-暂存我汇报的任务-D3-7提交汇报任务(公共)-被评对象目标周期ID不能为空", false);
        Assert.isNull(commitReportingTaskComReqDto.getCycleStageDataId(), "B3-暂存我汇报的任务-D3-7提交汇报任务(公共)-周期阶段资料记录ID不能为空", false);
        Assert.isNull(commitReportingTaskComReqDto.getTaskId(), "B3-暂存我汇报的任务-D3-7提交汇报任务(公共)-任务ID不能为空", false);
        Assert.isNull(commitReportingTaskComReqDto.getIsActualReceptionCycle(), "B3-暂存我汇报的任务-D3-7提交汇报任务(公共)-是否实际验收周期不能为空", false);
        Assert.isNull(commitReportingTaskComReqDto.getSubjectLifeCycle(), "B3-暂存我汇报的任务-D3-7提交汇报任务(公共)-主体生命周期不能为空", false);
        Assert.isNull(commitReportingTaskComReqDto.getTargetId(), "B3-暂存我汇报的任务-D3-7提交汇报任务(公共)-冗余目标ID不能为空", false);
        Assert.isNull(commitReportingTaskComReqDto.getEvaluationTemplateId(), "B3-暂存我汇报的任务-D3-7提交汇报任务(公共)-冗余评价模板ID不能为空", false);
        commitReportingTaskComRespDto = fwAppTaskClient.commitReportingTaskCom(commitReportingTaskComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffTempStorageTaskReportRespDto retData = new BffTempStorageTaskReportRespDto();


        return retData;
    }

    /**
     * B3-查询任务评价信息列表[2749]
     * gen by moon at 4/27/2024, 7:10:02 PM
     */
    @Trace(operationName = "B3-查询任务评价信息列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryTaskEvaInfoListRespDto queryTaskEvaInfoList(BffQueryTaskEvaInfoListReqDto reqDto) {


        JudgeEvaDataIsVisibleComRespDto judgeEvaDataIsVisibleComRespDto_1 = null;
        QueryOrgOrMatchingStandardDataListComRespDto queryOrgOrMatchingStandardDataListComRespDto_1 = null;
        BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto_1 = null;
//virtualUsage D3判断评价数据是否可见(公共)  25286
        JudgeEvaDataIsVisibleComRespDto judgeEvaDataIsVisibleComRespDto = null;
        JudgeEvaDataIsVisibleComReqDto judgeEvaDataIsVisibleComReqDto = new JudgeEvaDataIsVisibleComReqDto();
        if (reqDto != null) {
            judgeEvaDataIsVisibleComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:522496_1_25286
        }

        /*D3判断评价数据是否可见(公共)[5481]   */
        Assert.isNull(judgeEvaDataIsVisibleComReqDto.getEvaluationTemplateId(), "B3-查询任务评价信息列表-D3判断评价数据是否可见(公共)-冗余评价模板ID不能为空", false);
        judgeEvaDataIsVisibleComRespDto = fwAppEvaSystemClient.judgeEvaDataIsVisibleCom(judgeEvaDataIsVisibleComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        judgeEvaDataIsVisibleComRespDto_1 = judgeEvaDataIsVisibleComRespDto;
        if ((judgeEvaDataIsVisibleComRespDto != null && judgeEvaDataIsVisibleComRespDto.getOutputNum() == 1L)) {
            //if(D3判断评价数据是否可见(公共).评价数据是否可见 等于 1)  25287

            QueryOrgOrMatchingStandardDataListComRespDto queryOrgOrMatchingStandardDataListComRespDto = null;
            QueryOrgOrMatchingStandardDataListComReqDto queryOrgOrMatchingStandardDataListComReqDto = new QueryOrgOrMatchingStandardDataListComReqDto();
            if (reqDto != null) {
                queryOrgOrMatchingStandardDataListComReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:520904_1_25288
                queryOrgOrMatchingStandardDataListComReqDto.setPeriodId(reqDto.getPeriodId());//SimpleFieldAssign//sourceId:520918_1_25288
                queryOrgOrMatchingStandardDataListComReqDto.setCycleTypeCode(reqDto.getCycleTypeCode());//SimpleFieldAssign//sourceId:1758753_1_25288
                queryOrgOrMatchingStandardDataListComReqDto.setTargetCycleContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:520900_1_25288
                queryOrgOrMatchingStandardDataListComReqDto.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:520899_1_25288
                queryOrgOrMatchingStandardDataListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:520901_1_25288
            }

            /*D4查询组织或人匹配标准数据列表(公共)[5479]   */
            Assert.isNull(queryOrgOrMatchingStandardDataListComReqDto.getEntityId(), "B3-查询任务评价信息列表-D4查询组织或人匹配标准数据列表(公共)-被评对象目标周期ID不能为空", false);
            Assert.isNull(queryOrgOrMatchingStandardDataListComReqDto.getPeriodId(), "B3-查询任务评价信息列表-D4查询组织或人匹配标准数据列表(公共)-周期ID不能为空", false);
            Assert.isNull(queryOrgOrMatchingStandardDataListComReqDto.getCycleTypeCode(), "B3-查询任务评价信息列表-D4查询组织或人匹配标准数据列表(公共)-周期类型标识不能为空", false);
            Assert.isNull(queryOrgOrMatchingStandardDataListComReqDto.getTargetCycleContentId(), "B3-查询任务评价信息列表-D4查询组织或人匹配标准数据列表(公共)-关联目标内容ID不能为空", false);
            Assert.isNull(queryOrgOrMatchingStandardDataListComReqDto.getTargetCycleContentTypeCode(), "B3-查询任务评价信息列表-D4查询组织或人匹配标准数据列表(公共)-关联目标内容类型编码不能为空", false);
            Assert.isNull(queryOrgOrMatchingStandardDataListComReqDto.getEvaluationTemplateId(), "B3-查询任务评价信息列表-D4查询组织或人匹配标准数据列表(公共)-归属评价模板ID不能为空", false);
            queryOrgOrMatchingStandardDataListComRespDto = fwCalcStandardDataClient.queryOrgOrMatchingStandardDataListCom(queryOrgOrMatchingStandardDataListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            queryOrgOrMatchingStandardDataListComRespDto_1 = queryOrgOrMatchingStandardDataListComRespDto;
            BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto = null;
            if (queryOrgOrMatchingStandardDataListComRespDto != null) {
                BatchQueryInductionRecordListComReqDto batchQueryInductionRecordListComReqDto = new BatchQueryInductionRecordListComReqDto();
                if (queryOrgOrMatchingStandardDataListComRespDto != null && queryOrgOrMatchingStandardDataListComRespDto.getTaskerIsPartakeEvaList() != null && !CollectionUtil.isEmpty(queryOrgOrMatchingStandardDataListComRespDto.getTaskerIsPartakeEvaList())) {
                    batchQueryInductionRecordListComReqDto.setPerOrgInductionRecordList(queryOrgOrMatchingStandardDataListComRespDto.getTaskerIsPartakeEvaList().stream().map(item -> item.getVirtualOrgInductionRecordId())
                            .collect(Collectors.toList()));/*list-to-strings*///sourceId:524616_1_25372
                }

                /*D1-3批量查询就职记录列表（公共）[602]   */

                batchQueryInductionRecordListComRespDto = fwBaseInductionRecordClient.batchQueryInductionRecordListCom(batchQueryInductionRecordListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


                batchQueryInductionRecordListComRespDto_1 = batchQueryInductionRecordListComRespDto;
            }
        }
        BffQueryTaskEvaInfoListRespDto retData = new BffQueryTaskEvaInfoListRespDto();
        //数据集融合  MoreListToOneSource
        if (queryOrgOrMatchingStandardDataListComRespDto_1 != null && !CollectionUtil.isEmpty(queryOrgOrMatchingStandardDataListComRespDto_1.getTaskerIsPartakeEvaList())) {
            for (TaskerIsPartakeEvaDto taskerIsPartakeEvaDto : queryOrgOrMatchingStandardDataListComRespDto_1.getTaskerIsPartakeEvaList()) {
                BffTaskerIsPartakeEvaDto retElm = new BffTaskerIsPartakeEvaDto();
                if (queryOrgOrMatchingStandardDataListComRespDto_1 != null) {
                    retElm.setVirtualOrgInductionRecordId(taskerIsPartakeEvaDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:135224_2
                    retElm.setUserId(taskerIsPartakeEvaDto.getUserId());//SimpleFieldAssign//sourceId:135225_2
                    retElm.setRoleCode(taskerIsPartakeEvaDto.getRoleCode());//SimpleFieldAssign//sourceId:305058_2
                    retElm.setVirtualOrganizationPosition(taskerIsPartakeEvaDto.getVirtualOrganizationPosition());//SimpleFieldAssign//sourceId:135229_2
                    retElm.setIsUpperLowerLevels(taskerIsPartakeEvaDto.getIsUpperLowerLevels());//SimpleFieldAssign//sourceId:135230_2
                    retElm.setDataResultId(taskerIsPartakeEvaDto.getDataResultId());//SimpleFieldAssign//sourceId:135231_2
                    retElm.setDataResult(taskerIsPartakeEvaDto.getDataResult());//SimpleFieldAssign//sourceId:135232_2
                    retElm.setParentDataResultId(taskerIsPartakeEvaDto.getParentDataResultId());//SimpleFieldAssign//sourceId:135233_2
                    retElm.setParentDataResult(taskerIsPartakeEvaDto.getParentDataResult());//SimpleFieldAssign//sourceId:135234_2
                    retElm.setOperateTime(taskerIsPartakeEvaDto.getOperateTime());//SimpleFieldAssign//sourceId:135235_2
                    retElm.setBizRoleObjCode(taskerIsPartakeEvaDto.getBizRoleObjCode());//SimpleFieldAssign//sourceId:138814_2
                }
                retData.getTaskerIsPartakeEvaList().add(retElm);
                if (batchQueryInductionRecordListComRespDto_1 != null) {
                    for (PerOrgInductionRecordDto perOrgInductionRecordDto : batchQueryInductionRecordListComRespDto_1.getPerOrgInductionRecordList()) {
                        if (perOrgInductionRecordDto.getInductionRecordId().equals(taskerIsPartakeEvaDto.getVirtualOrgInductionRecordId())) {
                            if (batchQueryInductionRecordListComRespDto_1 != null) {
                                retElm.setIdCardName(perOrgInductionRecordDto.getIdCardName());//SimpleFieldAssign//sourceId:135804_2
                                retElm.setNickName(perOrgInductionRecordDto.getNickName());//SimpleFieldAssign//sourceId:135805_2
                                retElm.setUserFace(perOrgInductionRecordDto.getUserFace());//SimpleFieldAssign//sourceId:135806_2
                            }
                        }
                    }
                }

            }
        }//sourceId:520912_1
        if (judgeEvaDataIsVisibleComRespDto_1 != null) {
            retData.setOutputNum(judgeEvaDataIsVisibleComRespDto_1.getOutputNum());//SimpleFieldAssign//sourceId:522505_1
        }


        return retData;
    }

    /**
     * B3-查询我汇报的任务评价信息详情[2780]
     * gen by moon at 11/15/2022, 9:46:43 PM
     */
    @Trace(operationName = "B3-查询我汇报的任务评价信息详情")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryTaskReportEvaInfoDetailRespDto queryTaskReportEvaInfoDetail(BffQueryTaskReportEvaInfoDetailReqDto reqDto) {


        QueryStandardDataDetailComRespDto queryStandardDataDetailComRespDto_1 = null;
        QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto_1 = null;
        QueryClassMatchResultToAnswerDetailComRespDto queryClassMatchResultToAnswerDetailComRespDto_1 = null;
//步骤0: D4-1查标准数据详情(公共) - queryStandardDataDetailCom
        QueryStandardDataDetailComRespDto queryStandardDataDetailComRespDto = null;
        QueryStandardDataDetailComReqDto queryStandardDataDetailComReqDto = new QueryStandardDataDetailComReqDto();
        queryStandardDataDetailComReqDto.setTableTypeCode("OMS_EVALUATION_OBJECT_TARGET_CYCLE");//sourceId:88752_1
        queryStandardDataDetailComReqDto.setResultType("MANUAL_INPUT");//sourceId:88754_1
        queryStandardDataDetailComReqDto.setDataType("SUBJECTIVE_MARK");//sourceId:88755_1
        queryStandardDataDetailComReqDto.setPersonLiableTypeCode("REPORT_ROLE");//sourceId:88756_1
        queryStandardDataDetailComReqDto.setIsNewData("TRUE");//sourceId:129328_1
        queryStandardDataDetailComReqDto.setIsArchive("FALSE");//sourceId:129327_1
        queryStandardDataDetailComReqDto.setCreateInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:88759_1
        if (reqDto != null) {
            queryStandardDataDetailComReqDto.setPeriodId(reqDto.getPeriodId());//SimpleFieldAssign//sourceId:165770_1
            queryStandardDataDetailComReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:88753_1
        }

        /*D4-1查标准数据详情(公共)[2695]   */
        Assert.isNull(queryStandardDataDetailComReqDto.getPeriodId(), "B3-查询我汇报的任务评价信息详情-D4-1查标准数据详情(公共)-周期ID不能为空", false);
        Assert.isNull(queryStandardDataDetailComReqDto.getEntityId(), "B3-查询我汇报的任务评价信息详情-D4-1查标准数据详情(公共)-归属内容表主键ID不能为空", false);
        Assert.isNull(queryStandardDataDetailComReqDto.getTableTypeCode(), "B3-查询我汇报的任务评价信息详情-D4-1查标准数据详情(公共)-归属内容表类型编码不能为空", false);
        Assert.isNull(queryStandardDataDetailComReqDto.getResultType(), "B3-查询我汇报的任务评价信息详情-D4-1查标准数据详情(公共)-结果产生类型 不能为空", false);
        Assert.isNull(queryStandardDataDetailComReqDto.getDataType(), "B3-查询我汇报的任务评价信息详情-D4-1查标准数据详情(公共)-数据类型编码不能为空", false);
        Assert.isNull(queryStandardDataDetailComReqDto.getPersonLiableTypeCode(), "B3-查询我汇报的任务评价信息详情-D4-1查标准数据详情(公共)-填报评价责任人身份类型编码不能为空", false);
        Assert.isNull(queryStandardDataDetailComReqDto.getIsNewData(), "B3-查询我汇报的任务评价信息详情-D4-1查标准数据详情(公共)-是否最新数据不能为空", false);
        Assert.isNull(queryStandardDataDetailComReqDto.getIsArchive(), "B3-查询我汇报的任务评价信息详情-D4-1查标准数据详情(公共)-是否存档不能为空", false);
        Assert.isNull(queryStandardDataDetailComReqDto.getCreateInductionId(), "B3-查询我汇报的任务评价信息详情-D4-1查标准数据详情(公共)-创建人就职记录ID不能为空", false);
        queryStandardDataDetailComRespDto = fwCalcStandardDataClient.queryStandardDataDetailCom(queryStandardDataDetailComReqDto).getData();


        queryStandardDataDetailComRespDto_1 = queryStandardDataDetailComRespDto;

//步骤1: D1-3查询个人就职记录信息详情（公共） - queryInductionRecordInfoDetailCom
        QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto = null;
        if (queryStandardDataDetailComRespDto != null && queryStandardDataDetailComRespDto != null && queryStandardDataDetailComRespDto.getCreateInductionId() != null) {
            QueryInductionRecordInfoDetailComReqDto queryInductionRecordInfoDetailComReqDto = new QueryInductionRecordInfoDetailComReqDto();
            if (queryStandardDataDetailComRespDto != null) {
                queryInductionRecordInfoDetailComReqDto.setInductionRecordId(queryStandardDataDetailComRespDto.getCreateInductionId());//SimpleFieldAssign//sourceId:88766_1
            }

            /*D1-3查询个人就职记录信息详情（公共）[715]   */
            Assert.isNull(queryInductionRecordInfoDetailComReqDto.getInductionRecordId(), "B3-查询我汇报的任务评价信息详情-D1-3查询个人就职记录信息详情（公共）-就职记录ID不能为空", false);
            queryInductionRecordInfoDetailComRespDto = fwBaseInductionRecordClient.queryInductionRecordInfoDetailCom(queryInductionRecordInfoDetailComReqDto).getData();


            queryInductionRecordInfoDetailComRespDto_1 = queryInductionRecordInfoDetailComRespDto;
        }

//步骤2: D2-3查询分组匹配结果转答案(公共)(跨服务） - queryClassMatchResultToAnswerDetailCom
        QueryClassMatchResultToAnswerDetailComRespDto queryClassMatchResultToAnswerDetailComRespDto = null;
        QueryClassMatchResultToAnswerDetailComReqDto queryClassMatchResultToAnswerDetailComReqDto = new QueryClassMatchResultToAnswerDetailComReqDto();
        queryClassMatchResultToAnswerDetailComReqDto.setResultAspObjType("EVA_TEMP");//sourceId:129432_1
        queryClassMatchResultToAnswerDetailComReqDto.setIsPlatData("FALSE");//sourceId:437096_1
        queryClassMatchResultToAnswerDetailComReqDto.setConfItemClassCode("SCORE_UNIT_CONFIG_CLASS");//CUSTOM_CONVENTION//sourceId:129398_1
        if (reqDto != null) {
            queryClassMatchResultToAnswerDetailComReqDto.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:129431_1
        }

        /*D2-3查询分组匹配结果转答案(公共)(跨服务）[3088]   */
        Assert.isNull(queryClassMatchResultToAnswerDetailComReqDto.getResultAspObjId(), "B3-查询我汇报的任务评价信息详情-D2-3查询分组匹配结果转答案(公共)(跨服务）-答案归属对象ID不能为空", false);
        Assert.isNull(queryClassMatchResultToAnswerDetailComReqDto.getResultAspObjType(), "B3-查询我汇报的任务评价信息详情-D2-3查询分组匹配结果转答案(公共)(跨服务）-答案归属对象类型不能为空", false);
        Assert.isNull(queryClassMatchResultToAnswerDetailComReqDto.getIsPlatData(), "B3-查询我汇报的任务评价信息详情-D2-3查询分组匹配结果转答案(公共)(跨服务）-是否平台数据不能为空", false);
        Assert.isNull(queryClassMatchResultToAnswerDetailComReqDto.getConfItemClassCode(), "B3-查询我汇报的任务评价信息详情-D2-3查询分组匹配结果转答案(公共)(跨服务）-分组标识不能为空", false);
        queryClassMatchResultToAnswerDetailComRespDto = fwCompConfSchemeClient.queryClassMatchResultToAnswerDetailCom(queryClassMatchResultToAnswerDetailComReqDto).getData();


        queryClassMatchResultToAnswerDetailComRespDto_1 = queryClassMatchResultToAnswerDetailComRespDto;

        BffQueryTaskReportEvaInfoDetailRespDto retData = new BffQueryTaskReportEvaInfoDetailRespDto();
        if (queryStandardDataDetailComRespDto_1 != null) {
            retData.setDataResultId(queryStandardDataDetailComRespDto_1.getDataResultId());//SimpleFieldAssign//sourceId:129334_1
            retData.setDataResult(queryStandardDataDetailComRespDto_1.getDataResult());//SimpleFieldAssign//sourceId:129335_1
            retData.setParentDataResult(queryStandardDataDetailComRespDto_1.getParentDataResult());//SimpleFieldAssign//sourceId:129336_1
            retData.setUnit(queryStandardDataDetailComRespDto_1.getUnit());//SimpleFieldAssign//sourceId:129337_1
            retData.setSubjectLifeCycle(queryStandardDataDetailComRespDto_1.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:129338_1
            retData.setOperateTime(queryStandardDataDetailComRespDto_1.getOperateTime());//SimpleFieldAssign//sourceId:129340_1
            retData.setCreateInductionId(queryStandardDataDetailComRespDto_1.getCreateInductionId());//SimpleFieldAssign//sourceId:129339_1
        }
        if (queryClassMatchResultToAnswerDetailComRespDto_1 != null) {
            retData.setSubjectiveRatingTotalValue(queryClassMatchResultToAnswerDetailComRespDto_1.getSubjectiveRatingTotalValue());//SimpleFieldAssign//sourceId:129514_1
            retData.setSubjectiveRatingTotalValueUnit(queryClassMatchResultToAnswerDetailComRespDto_1.getSubjectiveRatingTotalValueUnit());//SimpleFieldAssign//sourceId:129515_1
        }
        if (queryInductionRecordInfoDetailComRespDto_1 != null) {
            retData.setIdCardName(queryInductionRecordInfoDetailComRespDto_1.getIdCardName());//SimpleFieldAssign//sourceId:129341_1
            retData.setNickName(queryInductionRecordInfoDetailComRespDto_1.getNickName());//SimpleFieldAssign//sourceId:129342_1
            retData.setUserFace(queryInductionRecordInfoDetailComRespDto_1.getUserFace());//SimpleFieldAssign//sourceId:129343_1
        }


        return retData;
    }

    /**
     * B3-查汇报给我的任务评价信息详情[2782]
     * gen by moon at 11/17/2022, 5:45:14 PM
     */
    @Trace(operationName = "B3-查汇报给我的任务评价信息详情")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryTaskReportedToMeEvaInfoDetailRespDto queryTaskReportedToMeEvaInfoDetail(BffQueryTaskReportedToMeEvaInfoDetailReqDto reqDto) {


        QueryStandardDataDetailComRespDto queryStandardDataDetailComRespDto_1 = null;
        QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto_1 = null;
        QueryClassMatchResultToAnswerDetailComRespDto queryClassMatchResultToAnswerDetailComRespDto_1 = null;
//步骤0: D4-1查标准数据详情(公共) - queryStandardDataDetailCom
        QueryStandardDataDetailComRespDto queryStandardDataDetailComRespDto = null;
        QueryStandardDataDetailComReqDto queryStandardDataDetailComReqDto = new QueryStandardDataDetailComReqDto();
        queryStandardDataDetailComReqDto.setTableTypeCode("OMS_EVALUATION_OBJECT_TARGET_CYCLE");//sourceId:89203_1
        queryStandardDataDetailComReqDto.setResultType("MANUAL_INPUT");//sourceId:89205_1
        queryStandardDataDetailComReqDto.setDataType("SUBJECTIVE_MARK");//sourceId:89206_1
        queryStandardDataDetailComReqDto.setPersonLiableTypeCode("FILL_ROLE");//sourceId:89207_1
        queryStandardDataDetailComReqDto.setIsNewData("TRUE");//sourceId:129345_1
        queryStandardDataDetailComReqDto.setIsArchive("FALSE");//sourceId:102484_1
        queryStandardDataDetailComReqDto.setCreateInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:89210_1
        if (reqDto != null) {
            queryStandardDataDetailComReqDto.setPeriodId(reqDto.getPeriodId());//SimpleFieldAssign//sourceId:165867_1
            queryStandardDataDetailComReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:89204_1
        }

        /*D4-1查标准数据详情(公共)[2695]   */
        Assert.isNull(queryStandardDataDetailComReqDto.getPeriodId(), "B3-查汇报给我的任务评价信息详情-D4-1查标准数据详情(公共)-周期ID不能为空", false);
        Assert.isNull(queryStandardDataDetailComReqDto.getEntityId(), "B3-查汇报给我的任务评价信息详情-D4-1查标准数据详情(公共)-归属内容表主键ID不能为空", false);
        Assert.isNull(queryStandardDataDetailComReqDto.getTableTypeCode(), "B3-查汇报给我的任务评价信息详情-D4-1查标准数据详情(公共)-归属内容表类型编码不能为空", false);
        Assert.isNull(queryStandardDataDetailComReqDto.getResultType(), "B3-查汇报给我的任务评价信息详情-D4-1查标准数据详情(公共)-结果产生类型 不能为空", false);
        Assert.isNull(queryStandardDataDetailComReqDto.getDataType(), "B3-查汇报给我的任务评价信息详情-D4-1查标准数据详情(公共)-数据类型编码不能为空", false);
        Assert.isNull(queryStandardDataDetailComReqDto.getPersonLiableTypeCode(), "B3-查汇报给我的任务评价信息详情-D4-1查标准数据详情(公共)-填报评价责任人身份类型编码不能为空", false);
        Assert.isNull(queryStandardDataDetailComReqDto.getIsNewData(), "B3-查汇报给我的任务评价信息详情-D4-1查标准数据详情(公共)-是否最新数据不能为空", false);
        Assert.isNull(queryStandardDataDetailComReqDto.getIsArchive(), "B3-查汇报给我的任务评价信息详情-D4-1查标准数据详情(公共)-是否存档不能为空", false);
        Assert.isNull(queryStandardDataDetailComReqDto.getCreateInductionId(), "B3-查汇报给我的任务评价信息详情-D4-1查标准数据详情(公共)-创建人就职记录ID不能为空", false);
        queryStandardDataDetailComRespDto = fwCalcStandardDataClient.queryStandardDataDetailCom(queryStandardDataDetailComReqDto).getData();


        queryStandardDataDetailComRespDto_1 = queryStandardDataDetailComRespDto;

//步骤1: D1-3查询个人就职记录信息详情（公共） - queryInductionRecordInfoDetailCom
        QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto = null;
        if (queryStandardDataDetailComRespDto != null) {
            QueryInductionRecordInfoDetailComReqDto queryInductionRecordInfoDetailComReqDto = new QueryInductionRecordInfoDetailComReqDto();
            if (queryStandardDataDetailComRespDto != null) {
                queryInductionRecordInfoDetailComReqDto.setInductionRecordId(queryStandardDataDetailComRespDto.getCreateInductionId());//SimpleFieldAssign//sourceId:89213_1
            }

            /*D1-3查询个人就职记录信息详情（公共）[715]   */
            Assert.isNull(queryInductionRecordInfoDetailComReqDto.getInductionRecordId(), "B3-查汇报给我的任务评价信息详情-D1-3查询个人就职记录信息详情（公共）-就职记录ID不能为空", false);
            queryInductionRecordInfoDetailComRespDto = fwBaseInductionRecordClient.queryInductionRecordInfoDetailCom(queryInductionRecordInfoDetailComReqDto).getData();


            queryInductionRecordInfoDetailComRespDto_1 = queryInductionRecordInfoDetailComRespDto;
        }

//步骤2: D2-3查询分组匹配结果转答案(公共)(跨服务） - queryClassMatchResultToAnswerDetailCom
        QueryClassMatchResultToAnswerDetailComRespDto queryClassMatchResultToAnswerDetailComRespDto = null;
        QueryClassMatchResultToAnswerDetailComReqDto queryClassMatchResultToAnswerDetailComReqDto = new QueryClassMatchResultToAnswerDetailComReqDto();
        queryClassMatchResultToAnswerDetailComReqDto.setResultAspObjType("EVA_TEMP");//sourceId:129551_1
        queryClassMatchResultToAnswerDetailComReqDto.setConfItemClassCode("SCORE_UNIT_CONFIG_CLASS");//CUSTOM_CONVENTION//sourceId:129517_1
        queryClassMatchResultToAnswerDetailComReqDto.setIsInitialScheme("TRUE");//sourceId:308502_1
        queryClassMatchResultToAnswerDetailComReqDto.setIsPlatData("FALSE");//sourceId:308504_1
        if (reqDto != null) {
            queryClassMatchResultToAnswerDetailComReqDto.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:129550_1
        }

        /*D2-3查询分组匹配结果转答案(公共)(跨服务）[3088]   */
        Assert.isNull(queryClassMatchResultToAnswerDetailComReqDto.getResultAspObjId(), "B3-查汇报给我的任务评价信息详情-D2-3查询分组匹配结果转答案(公共)(跨服务）-答案归属对象ID不能为空", false);
        Assert.isNull(queryClassMatchResultToAnswerDetailComReqDto.getResultAspObjType(), "B3-查汇报给我的任务评价信息详情-D2-3查询分组匹配结果转答案(公共)(跨服务）-答案归属对象类型不能为空", false);
        Assert.isNull(queryClassMatchResultToAnswerDetailComReqDto.getConfItemClassCode(), "B3-查汇报给我的任务评价信息详情-D2-3查询分组匹配结果转答案(公共)(跨服务）-分组标识不能为空", false);
        Assert.isNull(queryClassMatchResultToAnswerDetailComReqDto.getIsInitialScheme(), "B3-查汇报给我的任务评价信息详情-D2-3查询分组匹配结果转答案(公共)(跨服务）-是否初始方案答案不能为空", false);
        Assert.isNull(queryClassMatchResultToAnswerDetailComReqDto.getIsPlatData(), "B3-查汇报给我的任务评价信息详情-D2-3查询分组匹配结果转答案(公共)(跨服务）-是否平台数据不能为空", false);
        queryClassMatchResultToAnswerDetailComRespDto = fwCompConfSchemeClient.queryClassMatchResultToAnswerDetailCom(queryClassMatchResultToAnswerDetailComReqDto).getData();


        queryClassMatchResultToAnswerDetailComRespDto_1 = queryClassMatchResultToAnswerDetailComRespDto;

        BffQueryTaskReportedToMeEvaInfoDetailRespDto retData = new BffQueryTaskReportedToMeEvaInfoDetailRespDto();
        if (queryStandardDataDetailComRespDto_1 != null) {
            retData.setDataResultId(queryStandardDataDetailComRespDto_1.getDataResultId());//SimpleFieldAssign//sourceId:89230_1
            retData.setDataResult(queryStandardDataDetailComRespDto_1.getDataResult());//SimpleFieldAssign//sourceId:89231_1
            retData.setParentDataResult(queryStandardDataDetailComRespDto_1.getParentDataResult());//SimpleFieldAssign//sourceId:89232_1
            retData.setUnit(queryStandardDataDetailComRespDto_1.getUnit());//SimpleFieldAssign//sourceId:89233_1
            retData.setSubjectLifeCycle(queryStandardDataDetailComRespDto_1.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:129346_1
            retData.setOperateTime(queryStandardDataDetailComRespDto_1.getOperateTime());//SimpleFieldAssign//sourceId:89235_1
            retData.setCreateInductionId(queryStandardDataDetailComRespDto_1.getCreateInductionId());//SimpleFieldAssign//sourceId:89234_1
        }
        if (queryClassMatchResultToAnswerDetailComRespDto_1 != null) {
            retData.setSubjectiveRatingTotalValue(queryClassMatchResultToAnswerDetailComRespDto_1.getSubjectiveRatingTotalValue());//SimpleFieldAssign//sourceId:129581_1
            retData.setSubjectiveRatingTotalValueUnit(queryClassMatchResultToAnswerDetailComRespDto_1.getSubjectiveRatingTotalValueUnit());//SimpleFieldAssign//sourceId:129582_1
        }
        if (queryInductionRecordInfoDetailComRespDto_1 != null) {
            retData.setIdCardName(queryInductionRecordInfoDetailComRespDto_1.getIdCardName());//SimpleFieldAssign//sourceId:89236_1
            retData.setNickName(queryInductionRecordInfoDetailComRespDto_1.getNickName());//SimpleFieldAssign//sourceId:89237_1
            retData.setUserFace(queryInductionRecordInfoDetailComRespDto_1.getUserFace());//SimpleFieldAssign//sourceId:89238_1
        }


        return retData;
    }

    /**
     * B3-查询我汇报的任务列表[2797]
     * gen by moon at 1/6/2024, 7:41:21 PM
     */
    @Trace(operationName = "B3-查询我汇报的任务列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryTaskReportListRespDto queryTaskReportList(BffQueryTaskReportListReqDto reqDto) {


//       QueryReportingTaskListRespDto queryReportingTaskListRespDto_1 =null;
//BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto_1 =null;
////步骤0: D3-查询汇报任务列表 - queryReportingTaskList
//     QueryReportingTaskListRespDto queryReportingTaskListRespDto = null;
//    QueryReportingTaskListReqDto queryReportingTaskListReqDto=new QueryReportingTaskListReqDto();
//  queryReportingTaskListReqDto.setIsPersonCharge("TRUE");//sourceId:1045936_1
//if(reqDto!= null){
//      queryReportingTaskListReqDto.setTaskStatus(reqDto.getTaskStatus());//SimpleFieldAssign//sourceId:515507_1
//queryReportingTaskListReqDto.setIsComplete(reqDto.getIsComplete());//SimpleFieldAssign//sourceId:515508_1
//queryReportingTaskListReqDto.setIsOverdue(reqDto.getIsOverdue());//SimpleFieldAssign//sourceId:515509_1
//queryReportingTaskListReqDto.setStateCode(reqDto.getStateCode());//SimpleFieldAssign//sourceId:1448394_1
//queryReportingTaskListReqDto.setIsDoneFilleout(reqDto.getIsDoneFilleout());//SimpleFieldAssign//sourceId:515510_1
//queryReportingTaskListReqDto.setIsDoneEvaluate(reqDto.getIsDoneEvaluate());//SimpleFieldAssign//sourceId:515511_1
//queryReportingTaskListReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:515512_1
//    }
//
//    /*D3-查询汇报任务列表[2574]   */
//    Assert.isNull(queryReportingTaskListReqDto.getIsPersonCharge(),"B3-查询我汇报的任务列表-D3-查询汇报任务列表-是否负责人不能为空",false);
//Assert.isNull(queryReportingTaskListReqDto.getEvaluationTemplateId(),"B3-查询我汇报的任务列表-D3-查询汇报任务列表-冗余评价模板ID不能为空",false);
//      queryReportingTaskListRespDto = fwAppTaskClient.queryReportingTaskList(queryReportingTaskListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
//
//
//      queryReportingTaskListRespDto_1 = queryReportingTaskListRespDto;
//
////步骤1: D1-3批量查询就职记录列表（公共） - batchQueryInductionRecordListCom
//     BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto = null;
//    if(queryReportingTaskListRespDto !=null){
//          BatchQueryInductionRecordListComReqDto batchQueryInductionRecordListComReqDto=new BatchQueryInductionRecordListComReqDto();
//  if(queryReportingTaskListRespDto!= null&&  queryReportingTaskListRespDto.getReportingTaskList() !=null&& !CollectionUtil.isEmpty(queryReportingTaskListRespDto.getReportingTaskList())){
//      batchQueryInductionRecordListComReqDto.setPerOrgInductionRecordList(queryReportingTaskListRespDto.getReportingTaskList().stream().map(item->item.getVirtualOrgInductionRecordId())
//        .collect(Collectors.toList()));/*list-to-strings*///sourceId:88651_1
//    }
//
//    /*D1-3批量查询就职记录列表（公共）[602]   */
//
//      batchQueryInductionRecordListComRespDto = fwBaseInductionRecordClient.batchQueryInductionRecordListCom(batchQueryInductionRecordListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
//
//
//      batchQueryInductionRecordListComRespDto_1 = batchQueryInductionRecordListComRespDto;
//           }
//
////步骤2: D3-执行任务逾期调度(公共) - implementTaskOverdueEtcCom
//     ImplementTaskOverdueEtcComRespDto implementTaskOverdueEtcComRespDto = null;
//    if(queryReportingTaskListRespDto !=null){
//          ImplementTaskOverdueEtcComReqDto implementTaskOverdueEtcComReqDto=new ImplementTaskOverdueEtcComReqDto();
//  implementTaskOverdueEtcComReqDto.setOperationInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:1048619_1
//implementTaskOverdueEtcComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1048620_1
//implementTaskOverdueEtcComReqDto.setAppId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecAppId());//CURRENT_APPID//sourceId:1048621_1
//if(queryReportingTaskListRespDto!=null){
//      implementTaskOverdueEtcComReqDto.setReportingTaskList(queryReportingTaskListRespDto.getReportingTaskList());//list-field-assign//sourceId:1048616_1
//    }
//if(reqDto!=null){
//implementTaskOverdueEtcComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1048618_1
//    }
//
//    /*D3-执行任务逾期调度(公共)[6604]   */
//Assert.isNull(implementTaskOverdueEtcComReqDto.getEvaluationTemplateId(),"B3-查询我汇报的任务列表-D3-执行任务逾期调度(公共)-冗余评价模板ID不能为空",false);
//Assert.isNull(implementTaskOverdueEtcComReqDto.getOperationInductionId(),"B3-查询我汇报的任务列表-D3-执行任务逾期调度(公共)-操作人就职记录ID不能为空",false);
//Assert.isNull(implementTaskOverdueEtcComReqDto.getSpaceId(),"B3-查询我汇报的任务列表-D3-执行任务逾期调度(公共)-创建于空间ID不能为空",false);
//Assert.isNull(implementTaskOverdueEtcComReqDto.getAppId(),"B3-查询我汇报的任务列表-D3-执行任务逾期调度(公共)-创建于联盟应用ID不能为空",false);
//      implementTaskOverdueEtcComRespDto = fwAppConventionalSchedulingClient.implementTaskOverdueEtcCom(implementTaskOverdueEtcComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
//
//
//
//           }
//
////步骤3: D3-托底更新内容状态消息数量(公共) - bottomUpdateNumberContentStatusMessagesCom
//     BottomUpdateNumberContentStatusMessagesComRespDto bottomUpdateNumberContentStatusMessagesComRespDto = null;
//    if(queryReportingTaskListRespDto !=null){
//          BottomUpdateNumberContentStatusMessagesComReqDto bottomUpdateNumberContentStatusMessagesComReqDto=new BottomUpdateNumberContentStatusMessagesComReqDto();
//  bottomUpdateNumberContentStatusMessagesComReqDto.setSceneOfUpdateStatus("SCENE_OF_REPORT_TASK");//sourceId:1435718_1
//bottomUpdateNumberContentStatusMessagesComReqDto.setReportTaskEvaRoom("MY_REPORT_TASK");//sourceId:1435723_1
//if(reqDto!=null){
//      bottomUpdateNumberContentStatusMessagesComReqDto.setTaskStatus(reqDto.getTaskStatus());//SimpleFieldAssign//sourceId:1435714_1
//bottomUpdateNumberContentStatusMessagesComReqDto.setIsOverdue(reqDto.getIsOverdue());//SimpleFieldAssign//sourceId:1435715_1
//bottomUpdateNumberContentStatusMessagesComReqDto.setIsDoneFilleout(reqDto.getIsDoneFilleout());//SimpleFieldAssign//sourceId:1435717_1
//bottomUpdateNumberContentStatusMessagesComReqDto.setIsDoneEvaluate(reqDto.getIsDoneEvaluate());//SimpleFieldAssign//sourceId:1435716_1
//bottomUpdateNumberContentStatusMessagesComReqDto.setMsgNumberSubjectId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1435721_1
//bottomUpdateNumberContentStatusMessagesComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1435724_1
//    }
//if(queryReportingTaskListRespDto!=null){
//      bottomUpdateNumberContentStatusMessagesComReqDto.setTotals(queryReportingTaskListRespDto.getTotals());//SimpleFieldAssign//sourceId:1435720_1
//    }
//
//    /*D3-托底更新内容状态消息数量(公共)[8076]   */
//    Assert.isNull(bottomUpdateNumberContentStatusMessagesComReqDto.getSceneOfUpdateStatus(),"B3-查询我汇报的任务列表-D3-托底更新内容状态消息数量(公共)-状态更新使用场景不能为空",false);
//Assert.isNull(bottomUpdateNumberContentStatusMessagesComReqDto.getReportTaskEvaRoom(),"B3-查询我汇报的任务列表-D3-托底更新内容状态消息数量(公共)-汇报任务评价房间不能为空",false);
//Assert.isNull(bottomUpdateNumberContentStatusMessagesComReqDto.getMsgNumberSubjectId(),"B3-查询我汇报的任务列表-D3-托底更新内容状态消息数量(公共)-消息数量主体ID不能为空",false);
//Assert.isNull(bottomUpdateNumberContentStatusMessagesComReqDto.getTotals(),"B3-查询我汇报的任务列表-D3-托底更新内容状态消息数量(公共)-数据总条数不能为空",false);
//Assert.isNull(bottomUpdateNumberContentStatusMessagesComReqDto.getEvaluationTemplateId(),"B3-查询我汇报的任务列表-D3-托底更新内容状态消息数量(公共)-冗余评价模板ID不能为空",false);
//      bottomUpdateNumberContentStatusMessagesComRespDto = fwAppMessageClient.bottomUpdateNumberContentStatusMessagesCom(bottomUpdateNumberContentStatusMessagesComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
//
//
//
//           }
//
//BffQueryTaskReportListRespDto retData = new BffQueryTaskReportListRespDto();
//  //数据集融合  MoreListToOneSource
//        if(queryReportingTaskListRespDto_1!= null && !CollectionUtil.isEmpty(queryReportingTaskListRespDto_1.getReportingTaskList()) ){
//          for (ReportingTaskDto reportingTaskDto : queryReportingTaskListRespDto_1.getReportingTaskList()) {
//              BffReportingTaskDto retElm = new BffReportingTaskDto();
//  if(queryReportingTaskListRespDto_1!=null){
//      retElm.setTaskId(reportingTaskDto.getTaskId());//SimpleFieldAssign//sourceId:142178_2
//retElm.setTaskName(reportingTaskDto.getTaskName());//SimpleFieldAssign//sourceId:142179_2
//retElm.setTaskNumber(reportingTaskDto.getTaskNumber());//SimpleFieldAssign//sourceId:142180_2
//retElm.setBizAppCode(reportingTaskDto.getBizAppCode());//SimpleFieldAssign//sourceId:142181_2
//retElm.setBizSceneCode(reportingTaskDto.getBizSceneCode());//SimpleFieldAssign//sourceId:142182_2
//retElm.setTableTypeCode(reportingTaskDto.getTableTypeCode());//SimpleFieldAssign//sourceId:142183_2
//retElm.setEntityId(reportingTaskDto.getEntityId());//SimpleFieldAssign//sourceId:142184_2
//retElm.setParentTableTypeCode(reportingTaskDto.getParentTableTypeCode());//SimpleFieldAssign//sourceId:142185_2
//retElm.setParentEntityId(reportingTaskDto.getParentEntityId());//SimpleFieldAssign//sourceId:142186_2
//retElm.setTargetCycleContentTypeCode(reportingTaskDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:142187_2
//retElm.setTargetCycleContentId(reportingTaskDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:142188_2
//retElm.setThemeContentTypeCode(reportingTaskDto.getThemeContentTypeCode());//SimpleFieldAssign//sourceId:142189_2
//retElm.setThemeContentId(reportingTaskDto.getThemeContentId());//SimpleFieldAssign//sourceId:142190_2
//retElm.setTargetId(reportingTaskDto.getTargetId());//SimpleFieldAssign//sourceId:242186_2
//retElm.setIsAutoReport(reportingTaskDto.getIsAutoReport());//SimpleFieldAssign//sourceId:240702_2
//retElm.setIsDoneFilleout(reportingTaskDto.getIsDoneFilleout());//SimpleFieldAssign//sourceId:142191_2
//retElm.setIsDoneEvaluate(reportingTaskDto.getIsDoneEvaluate());//SimpleFieldAssign//sourceId:142192_2
//retElm.setIsPlanReceptionCycle(reportingTaskDto.getIsPlanReceptionCycle());//SimpleFieldAssign//sourceId:171436_2
//retElm.setCycleId(reportingTaskDto.getCycleId());//SimpleFieldAssign//sourceId:142193_2
//retElm.setCycleStandardName(reportingTaskDto.getCycleStandardName());//SimpleFieldAssign//sourceId:142194_2
//retElm.setCycleStartTime(reportingTaskDto.getCycleStartTime());//SimpleFieldAssign//sourceId:142195_2
//retElm.setCycleEndTime(reportingTaskDto.getCycleEndTime());//SimpleFieldAssign//sourceId:142196_2
//retElm.setCycleTypeCode(reportingTaskDto.getCycleTypeCode());//SimpleFieldAssign//sourceId:142197_2
//retElm.setCycleNumberShortName(reportingTaskDto.getCycleNumberShortName());//SimpleFieldAssign//sourceId:142198_2
//retElm.setCycleTypeInstanceCode(reportingTaskDto.getCycleTypeInstanceCode());//SimpleFieldAssign//sourceId:142199_2
//retElm.setTaskStatus(reportingTaskDto.getTaskStatus());//SimpleFieldAssign//sourceId:142200_2
//retElm.setIsComplete(reportingTaskDto.getIsComplete());//SimpleFieldAssign//sourceId:142201_2
//retElm.setCompleteStatus(reportingTaskDto.getCompleteStatus());//SimpleFieldAssign//sourceId:142202_2
//retElm.setIsOverdue(reportingTaskDto.getIsOverdue());//SimpleFieldAssign//sourceId:142203_2
//retElm.setStateCode(reportingTaskDto.getStateCode());//SimpleFieldAssign//sourceId:292209_2
//retElm.setPlanStartTime(reportingTaskDto.getPlanStartTime());//SimpleFieldAssign//sourceId:142204_2
//retElm.setPlanEndTime(reportingTaskDto.getPlanEndTime());//SimpleFieldAssign//sourceId:142205_2
//retElm.setActualStartTime(reportingTaskDto.getActualStartTime());//SimpleFieldAssign//sourceId:142206_2
//retElm.setActualEndTime(reportingTaskDto.getActualEndTime());//SimpleFieldAssign//sourceId:142207_2
//retElm.setPercentageProgress(reportingTaskDto.getPercentageProgress());//SimpleFieldAssign//sourceId:142208_2
//retElm.setDeflectionInfo(reportingTaskDto.getDeflectionInfo());//SimpleFieldAssign//sourceId:142209_2
//retElm.setSubjectLifeCycle(reportingTaskDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:142210_2
//retElm.setOperateTime(reportingTaskDto.getOperateTime());//SimpleFieldAssign//sourceId:142211_2
//retElm.setCreateTime(reportingTaskDto.getCreateTime());//SimpleFieldAssign//sourceId:142212_2
//retElm.setVirtualOrgInductionRecordId(reportingTaskDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:142213_2
//    }
//              retData.getReportingTaskList().add(retElm);
//               if(batchQueryInductionRecordListComRespDto_1!= null){
//          for (PerOrgInductionRecordDto perOrgInductionRecordDto : batchQueryInductionRecordListComRespDto_1.getPerOrgInductionRecordList()) {
//                if (perOrgInductionRecordDto.getInductionRecordId().equals(reportingTaskDto.getVirtualOrgInductionRecordId())) {
//                 if(batchQueryInductionRecordListComRespDto_1!=null){
//      retElm.setIdCardName(perOrgInductionRecordDto.getIdCardName());//SimpleFieldAssign//sourceId:142214_2
//retElm.setNickName(perOrgInductionRecordDto.getNickName());//SimpleFieldAssign//sourceId:142215_2
//retElm.setUserFace(perOrgInductionRecordDto.getUserFace());//SimpleFieldAssign//sourceId:142216_2
//    }
//                }
//            }
//          }
//
//          }
//        }//sourceId:561371_1
//if(queryReportingTaskListRespDto_1!=null){
//      retData.setTotals(queryReportingTaskListRespDto_1.getTotals());//SimpleFieldAssign//sourceId:1396337_1
//    }
//
//
//  retData.setPageNum(queryReportingTaskListRespDto.getPageNum());
//        retData.setPageSize(queryReportingTaskListRespDto.getPageSize());
//        retData.setTotal(queryReportingTaskListRespDto.getTotalNum());
//        retData.setIsLastPage((Math.ceil(Double.valueOf(queryReportingTaskListRespDto.getTotalNum()) / Double.valueOf(queryReportingTaskListRespDto.getPageSize()))) <= retData.getPageNum());
//
//
        return null;
    }

    /**
     * B3-撤销汇报我汇报的任务[2835]
     * gen by moon at 6/11/2024, 6:47:17 AM
     */
    @Trace(operationName = "B3-撤销汇报我汇报的任务")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffCancelApprovedTaskReportRespDto cancelApprovedTaskReport(BffCancelApprovedTaskReportReqDto reqDto) {


        //virtualUsage D3-暂存/撤销我汇报的任务权限校验(公共)  37173
        TempStorageTaskReportPermissionVerificationComRespDto tempStorageTaskReportPermissionVerificationComRespDto = null;
        TempStorageTaskReportPermissionVerificationComReqDto tempStorageTaskReportPermissionVerificationComReqDto = new TempStorageTaskReportPermissionVerificationComReqDto();
        if (reqDto != null) {
            tempStorageTaskReportPermissionVerificationComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:836593_1_37173
        }

        /*D3-暂存/撤销我汇报的任务权限校验(公共)[6302]   */
        Assert.isNull(tempStorageTaskReportPermissionVerificationComReqDto.getEvaluationTemplateId(), "B3-撤销汇报我汇报的任务-D3-暂存/撤销我汇报的任务权限校验(公共)-冗余评价模板ID不能为空", false);
        tempStorageTaskReportPermissionVerificationComRespDto = fwAppTaskClient.tempStorageTaskReportPermissionVerificationCom(tempStorageTaskReportPermissionVerificationComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//virtualUsage D3-判断当前汇报人是否负责人(公共)  69899
        JudgeCurReporterIsPersonLiableComRespDto judgeCurReporterIsPersonLiableComRespDto = null;
        JudgeCurReporterIsPersonLiableComReqDto judgeCurReporterIsPersonLiableComReqDto = new JudgeCurReporterIsPersonLiableComReqDto();
        judgeCurReporterIsPersonLiableComReqDto.setUseScene("TARGET_PLAN_SCENE");//sourceId:1863334_1_69899
        if (reqDto != null) {
            judgeCurReporterIsPersonLiableComReqDto.setEntityId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1863332_1_69899
            judgeCurReporterIsPersonLiableComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1863333_1_69899
        }

        /*D3-判断当前汇报人是否负责人(公共)[8537]   */
        Assert.isNull(judgeCurReporterIsPersonLiableComReqDto.getEntityId(), "B3-撤销汇报我汇报的任务-D3-判断当前汇报人是否负责人(公共)-冗余内容表主键ID不能为空", false);
        Assert.isNull(judgeCurReporterIsPersonLiableComReqDto.getEvaluationTemplateId(), "B3-撤销汇报我汇报的任务-D3-判断当前汇报人是否负责人(公共)-归属对象ID不能为空", false);
        Assert.isNull(judgeCurReporterIsPersonLiableComReqDto.getUseScene(), "B3-撤销汇报我汇报的任务-D3-判断当前汇报人是否负责人(公共)-虚拟组织使用场景不能为空", false);
        judgeCurReporterIsPersonLiableComRespDto = fwAppVirtualOrgClient.judgeCurReporterIsPersonLiableCom(judgeCurReporterIsPersonLiableComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//virtualUsage D3-撤销汇报我汇报的任务(公共)  37174
        CancelApprovedTaskReportComRespDto cancelApprovedTaskReportComRespDto = null;
        CancelApprovedTaskReportComReqDto cancelApprovedTaskReportComReqDto = new CancelApprovedTaskReportComReqDto();
        if (reqDto != null) {
            cancelApprovedTaskReportComReqDto.setStatusBizOptType(reqDto.getStatusBizOptType());//SimpleFieldAssign//sourceId:1467687_1_37174
            cancelApprovedTaskReportComReqDto.setTaskId(reqDto.getTaskId());//SimpleFieldAssign//sourceId:530381_1_37174
            cancelApprovedTaskReportComReqDto.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:788160_1_37174
            cancelApprovedTaskReportComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:530379_1_37174
            cancelApprovedTaskReportComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:530380_1_37174
            cancelApprovedTaskReportComReqDto.setTargetCycleContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:530382_1_37174
            cancelApprovedTaskReportComReqDto.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:530383_1_37174
            cancelApprovedTaskReportComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:530384_1_37174
        }

        /*D3-撤销汇报我汇报的任务(公共)[5492]   */
        Assert.isNull(cancelApprovedTaskReportComReqDto.getStatusBizOptType(), "B3-撤销汇报我汇报的任务-D3-撤销汇报我汇报的任务(公共)-状态业务操作类型不能为空", false);
        Assert.isNull(cancelApprovedTaskReportComReqDto.getTaskId(), "B3-撤销汇报我汇报的任务-D3-撤销汇报我汇报的任务(公共)-任务ID不能为空", false);
        Assert.isNull(cancelApprovedTaskReportComReqDto.getCycleStageDataId(), "B3-撤销汇报我汇报的任务-D3-撤销汇报我汇报的任务(公共)-周期阶段资料记录ID不能为空", false);
        Assert.isNull(cancelApprovedTaskReportComReqDto.getEvaObjTargetCycleId(), "B3-撤销汇报我汇报的任务-D3-撤销汇报我汇报的任务(公共)-被评对象目标周期ID不能为空", false);
        Assert.isNull(cancelApprovedTaskReportComReqDto.getCycleId(), "B3-撤销汇报我汇报的任务-D3-撤销汇报我汇报的任务(公共)-周期ID不能为空", false);
        Assert.isNull(cancelApprovedTaskReportComReqDto.getTargetCycleContentId(), "B3-撤销汇报我汇报的任务-D3-撤销汇报我汇报的任务(公共)-关联目标内容ID不能为空", false);
        Assert.isNull(cancelApprovedTaskReportComReqDto.getTargetCycleContentTypeCode(), "B3-撤销汇报我汇报的任务-D3-撤销汇报我汇报的任务(公共)-关联目标内容类型编码不能为空", false);
        Assert.isNull(cancelApprovedTaskReportComReqDto.getEvaluationTemplateId(), "B3-撤销汇报我汇报的任务-D3-撤销汇报我汇报的任务(公共)-冗余评价模板ID不能为空", false);
        cancelApprovedTaskReportComRespDto = fwAppTaskClient.cancelApprovedTaskReportCom(cancelApprovedTaskReportComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffCancelApprovedTaskReportRespDto retData = new BffCancelApprovedTaskReportRespDto();


        return retData;
    }

    /**
     * B3-审核通过汇报给我的任务[2836]
     * gen by moon at 4/17/2023, 7:45:14 PM
     */
    @Trace(operationName = "B3-审核通过汇报给我的任务")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffApproveSucceedTaskReportedToMeRespDto approveSucceedTaskReportedToMe(BffApproveSucceedTaskReportedToMeReqDto reqDto) {


        //virtualUsage D3-审核汇报任务权限校验(公共)  37195
        ApproveSucceedTaskReportPermissionVerificationComRespDto approveSucceedTaskReportPermissionVerificationComRespDto = null;
        ApproveSucceedTaskReportPermissionVerificationComReqDto approveSucceedTaskReportPermissionVerificationComReqDto = new ApproveSucceedTaskReportPermissionVerificationComReqDto();
        if (reqDto != null) {
            approveSucceedTaskReportPermissionVerificationComReqDto.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:836850_1_37195
            approveSucceedTaskReportPermissionVerificationComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:836851_1_37195
            approveSucceedTaskReportPermissionVerificationComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:836849_1_37195
        }

        /*D3-审核汇报任务权限校验(公共)[6303]   */
        Assert.isNull(approveSucceedTaskReportPermissionVerificationComReqDto.getCycleStageDataId(), "B3-审核通过汇报给我的任务-D3-审核汇报任务权限校验(公共)-周期阶段资料记录ID不能为空", false);
        Assert.isNull(approveSucceedTaskReportPermissionVerificationComReqDto.getEvaObjTargetCycleId(), "B3-审核通过汇报给我的任务-D3-审核汇报任务权限校验(公共)-被评对象目标周期ID不能为空", false);
        Assert.isNull(approveSucceedTaskReportPermissionVerificationComReqDto.getEvaluationTemplateId(), "B3-审核通过汇报给我的任务-D3-审核汇报任务权限校验(公共)-冗余评价模板ID不能为空", false);
        approveSucceedTaskReportPermissionVerificationComRespDto = fwAppTaskClient.approveSucceedTaskReportPermissionVerificationCom(approveSucceedTaskReportPermissionVerificationComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//virtualUsage D3-审核汇报任务并计算标准数据(公共)  37196
        ApproveReportingTaskRelateAndCalcComRespDto approveReportingTaskRelateAndCalcComRespDto = null;
        ApproveReportingTaskRelateAndCalcComReqDto approveReportingTaskRelateAndCalcComReqDto = new ApproveReportingTaskRelateAndCalcComReqDto();
        if (reqDto != null) {
            approveReportingTaskRelateAndCalcComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:653492_1_37196
            approveReportingTaskRelateAndCalcComReqDto.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:653493_1_37196
            approveReportingTaskRelateAndCalcComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:699961_1_37196
            approveReportingTaskRelateAndCalcComReqDto.setTaskId(reqDto.getTaskId());//SimpleFieldAssign//sourceId:653494_1_37196
            approveReportingTaskRelateAndCalcComReqDto.setTargetCycleContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:699962_1_37196
            approveReportingTaskRelateAndCalcComReqDto.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:699963_1_37196
            approveReportingTaskRelateAndCalcComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:699964_1_37196
        }

        /*D3-审核汇报任务并计算标准数据(公共)[5427]   */
        Assert.isNull(approveReportingTaskRelateAndCalcComReqDto.getEvaObjTargetCycleId(), "B3-审核通过汇报给我的任务-D3-审核汇报任务并计算标准数据(公共)-被评对象目标周期ID不能为空", false);
        Assert.isNull(approveReportingTaskRelateAndCalcComReqDto.getCycleStageDataId(), "B3-审核通过汇报给我的任务-D3-审核汇报任务并计算标准数据(公共)-周期阶段资料记录ID不能为空", false);
        Assert.isNull(approveReportingTaskRelateAndCalcComReqDto.getCycleId(), "B3-审核通过汇报给我的任务-D3-审核汇报任务并计算标准数据(公共)-周期ID不能为空", false);
        Assert.isNull(approveReportingTaskRelateAndCalcComReqDto.getTaskId(), "B3-审核通过汇报给我的任务-D3-审核汇报任务并计算标准数据(公共)-任务ID不能为空", false);
        Assert.isNull(approveReportingTaskRelateAndCalcComReqDto.getTargetCycleContentId(), "B3-审核通过汇报给我的任务-D3-审核汇报任务并计算标准数据(公共)-关联目标内容ID不能为空", false);
        Assert.isNull(approveReportingTaskRelateAndCalcComReqDto.getTargetCycleContentTypeCode(), "B3-审核通过汇报给我的任务-D3-审核汇报任务并计算标准数据(公共)-关联目标内容类型编码不能为空", false);
        Assert.isNull(approveReportingTaskRelateAndCalcComReqDto.getEvaluationTemplateId(), "B3-审核通过汇报给我的任务-D3-审核汇报任务并计算标准数据(公共)-冗余评价模板ID不能为空", false);
        approveReportingTaskRelateAndCalcComRespDto = fwAppTaskClient.approveReportingTaskRelateAndCalcCom(approveReportingTaskRelateAndCalcComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffApproveSucceedTaskReportedToMeRespDto retData = new BffApproveSucceedTaskReportedToMeRespDto();


        return retData;
    }

    /**
     * B3-审核驳回汇报给我的任务[2881]
     * gen by moon at 1/2/2024, 8:51:50 PM
     */
    @Trace(operationName = "B3-审核驳回汇报给我的任务")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffApproveFailTaskReportedToMeRespDto approveFailTaskReportedToMe(BffApproveFailTaskReportedToMeReqDto reqDto) {


        //virtualUsage D3-审核汇报任务权限校验(公共)  49148
        ApproveSucceedTaskReportPermissionVerificationComRespDto approveSucceedTaskReportPermissionVerificationComRespDto = null;
        ApproveSucceedTaskReportPermissionVerificationComReqDto approveSucceedTaskReportPermissionVerificationComReqDto = new ApproveSucceedTaskReportPermissionVerificationComReqDto();
        if (reqDto != null) {
            approveSucceedTaskReportPermissionVerificationComReqDto.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:1146238_1_49148
            approveSucceedTaskReportPermissionVerificationComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1146239_1_49148
            approveSucceedTaskReportPermissionVerificationComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1146237_1_49148
        }

        /*D3-审核汇报任务权限校验(公共)[6303]   */
        Assert.isNull(approveSucceedTaskReportPermissionVerificationComReqDto.getCycleStageDataId(), "B3-审核驳回汇报给我的任务-D3-审核汇报任务权限校验(公共)-周期阶段资料记录ID不能为空", false);
        Assert.isNull(approveSucceedTaskReportPermissionVerificationComReqDto.getEvaObjTargetCycleId(), "B3-审核驳回汇报给我的任务-D3-审核汇报任务权限校验(公共)-被评对象目标周期ID不能为空", false);
        Assert.isNull(approveSucceedTaskReportPermissionVerificationComReqDto.getEvaluationTemplateId(), "B3-审核驳回汇报给我的任务-D3-审核汇报任务权限校验(公共)-冗余评价模板ID不能为空", false);
        approveSucceedTaskReportPermissionVerificationComRespDto = fwAppTaskClient.approveSucceedTaskReportPermissionVerificationCom(approveSucceedTaskReportPermissionVerificationComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//virtualUsage D3-7审核驳回汇报给我的任务  49153
        ApproveFailTaskReportedToMeRespDto approveFailTaskReportedToMeRespDto = null;
        ApproveFailTaskReportedToMeReqDto approveFailTaskReportedToMeReqDto = new ApproveFailTaskReportedToMeReqDto();
        if (reqDto != null) {
            approveFailTaskReportedToMeReqDto.setStatusBizOptType(reqDto.getStatusBizOptType());//SimpleFieldAssign//sourceId:1467693_1_49153
            approveFailTaskReportedToMeReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1149910_1_49153
            approveFailTaskReportedToMeReqDto.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:1149911_1_49153
            approveFailTaskReportedToMeReqDto.setTaskId(reqDto.getTaskId());//SimpleFieldAssign//sourceId:1149912_1_49153
            approveFailTaskReportedToMeReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1149913_1_49153
            approveFailTaskReportedToMeReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1149914_1_49153
            approveFailTaskReportedToMeReqDto.setReportTaskRejectReason(reqDto.getReportTaskRejectReason());//SimpleFieldAssign//sourceId:1150565_1_49153
        }

        /*D3-7审核驳回汇报给我的任务[2882]   */
        Assert.isNull(approveFailTaskReportedToMeReqDto.getStatusBizOptType(), "B3-审核驳回汇报给我的任务-D3-7审核驳回汇报给我的任务-状态业务操作类型不能为空", false);
        Assert.isNull(approveFailTaskReportedToMeReqDto.getEvaObjTargetCycleId(), "B3-审核驳回汇报给我的任务-D3-7审核驳回汇报给我的任务-被评对象目标周期ID不能为空", false);
        Assert.isNull(approveFailTaskReportedToMeReqDto.getCycleStageDataId(), "B3-审核驳回汇报给我的任务-D3-7审核驳回汇报给我的任务-周期阶段资料记录ID不能为空", false);
        Assert.isNull(approveFailTaskReportedToMeReqDto.getTaskId(), "B3-审核驳回汇报给我的任务-D3-7审核驳回汇报给我的任务-任务ID不能为空", false);
        Assert.isNull(approveFailTaskReportedToMeReqDto.getCycleId(), "B3-审核驳回汇报给我的任务-D3-7审核驳回汇报给我的任务-周期ID不能为空", false);
        Assert.isNull(approveFailTaskReportedToMeReqDto.getEvaluationTemplateId(), "B3-审核驳回汇报给我的任务-D3-7审核驳回汇报给我的任务-冗余评价模板ID不能为空", false);
        approveFailTaskReportedToMeRespDto = fwAppTaskClient.approveFailTaskReportedToMe(approveFailTaskReportedToMeReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffApproveFailTaskReportedToMeRespDto retData = new BffApproveFailTaskReportedToMeRespDto();


        return retData;
    }

    /**
     * B3-查询评价模板下汇报相关配置详情[3054]
     * gen by moon at 9/14/2024, 4:21:47 PM
     */
    @Trace(operationName = "B3-查询评价模板下汇报相关配置详情")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryConfigOfReportingTaskDetailRespDto queryConfigOfReportingTaskDetail(BffQueryConfigOfReportingTaskDetailReqDto reqDto) {


        QueryPlanEvaBatchSetDetailComRespDto queryPlanEvaBatchSetDetailComRespDto_1 = null;
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_1 = null;
        QuerySchemeMatchSingleResultToAnswerDetailComRespDto querySchemeMatchSingleResultToAnswerDetailComRespDto_1 = null;
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_5 = null;
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_7 = null;
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_9 = null;
        ObtainReceiveFieldComRespDto obtainReceiveFieldComRespDto_1 = null;
        QueryOutputParametersDetailComRespDto queryOutputParametersDetailComRespDto_1 = null;
        QueryItemMatchResultToAnswerDetailComRespDto queryItemMatchResultToAnswerDetailComRespDto_1 = null;
        QueryItemMatchResultToAnswerDetailComRespDto queryItemMatchResultToAnswerDetailComRespDto_3 = null;
//virtualUsage D3-3查询汇报是否锁定  22927
        QueryPlanEvaBatchSetDetailComRespDto queryPlanEvaBatchSetDetailComRespDto = null;
        QueryPlanEvaBatchSetDetailComReqDto queryPlanEvaBatchSetDetailComReqDto = new QueryPlanEvaBatchSetDetailComReqDto();
        queryPlanEvaBatchSetDetailComReqDto.setBatchSetObjectType("TOP_EVA_TEMP_MGT");//sourceId:101771_1_22927
        if (reqDto != null) {
            queryPlanEvaBatchSetDetailComReqDto.setBatchSetId(reqDto.getBatchSetId());//SimpleFieldAssign//sourceId:101765_1_22927
        }

        /*D3-3查询汇报是否锁定[3005]   */
        Assert.isNull(queryPlanEvaBatchSetDetailComReqDto.getBatchSetId(), "B3-查询评价模板下汇报相关配置详情-D3-3查询汇报是否锁定-批次设置对象ID不能为空", false);
        Assert.isNull(queryPlanEvaBatchSetDetailComReqDto.getBatchSetObjectType(), "B3-查询评价模板下汇报相关配置详情-D3-3查询汇报是否锁定-批次设置对象类型不能为空", false);
        queryPlanEvaBatchSetDetailComRespDto = fwAppBatchClient.queryPlanEvaBatchSetDetailCom(queryPlanEvaBatchSetDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryPlanEvaBatchSetDetailComRespDto_1 = queryPlanEvaBatchSetDetailComRespDto;
//virtualUsage D2-3查询评价模板数据参数类型  22928
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto.setResultAspObjType("EVA_TEMP");//sourceId:464714_1_22928
        queryConfItemMatchAnswerDetailComReqDto.setConfItemCode("SCHEME_DATA_PARA");//CUSTOM_CONVENTION//sourceId:464713_1_22928
        queryConfItemMatchAnswerDetailComReqDto.setIsPlatData("FALSE");//sourceId:464722_1_22928
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailComReqDto.setResultAspObjId(reqDto.getBatchSetId());//SimpleFieldAssign//sourceId:464715_1_22928
        }

        /*D2-3查询评价模板数据参数类型[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getResultAspObjId(), "B3-查询评价模板下汇报相关配置详情-D2-3查询评价模板数据参数类型-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getResultAspObjType(), "B3-查询评价模板下汇报相关配置详情-D2-3查询评价模板数据参数类型-开通对象类型编码不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getConfItemCode(), "B3-查询评价模板下汇报相关配置详情-D2-3查询评价模板数据参数类型-配置项标识不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto = fwCompConfSchemeClient.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryConfItemMatchAnswerDetailComRespDto_1 = queryConfItemMatchAnswerDetailComRespDto;
//virtualUsage D2查单选答案参数（周期模式、评价模板类型、是否开启生成任务计划结束时间等）  51442
        QuerySchemeMatchSingleResultToAnswerDetailComRespDto querySchemeMatchSingleResultToAnswerDetailComRespDto = null;
        QuerySchemeMatchSingleResultToAnswerDetailComReqDto querySchemeMatchSingleResultToAnswerDetailComReqDto = new QuerySchemeMatchSingleResultToAnswerDetailComReqDto();
        querySchemeMatchSingleResultToAnswerDetailComReqDto.setIsPlatData("FALSE");//sourceId:1221782_1_51442
        if (reqDto != null) {
            querySchemeMatchSingleResultToAnswerDetailComReqDto.setResultAspObjId(reqDto.getBatchSetId());//SimpleFieldAssign//sourceId:1221781_1_51442
        }

        /*D2查单选答案参数（周期模式、评价模板类型、是否开启生成任务计划结束时间等）[3101]   */
        Assert.isNull(querySchemeMatchSingleResultToAnswerDetailComReqDto.getResultAspObjId(), "B3-查询评价模板下汇报相关配置详情-D2查单选答案参数（周期模式、评价模板类型、是否开启生成任务计划结束时间等）-开通对象ID不能为空", false);
        Assert.isNull(querySchemeMatchSingleResultToAnswerDetailComReqDto.getIsPlatData(), "B3-查询评价模板下汇报相关配置详情-D2查单选答案参数（周期模式、评价模板类型、是否开启生成任务计划结束时间等）-是否标准答案不能为空", false);
        querySchemeMatchSingleResultToAnswerDetailComRespDto = fwCompConfSchemeClient.querySchemeMatchSingleResultToAnswerDetailCom(querySchemeMatchSingleResultToAnswerDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        querySchemeMatchSingleResultToAnswerDetailComRespDto_1 = querySchemeMatchSingleResultToAnswerDetailComRespDto;
//virtualUsage D2查评价模板工作周期是否汇报配置参数  72831
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_2 = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_1 = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto_1.setResultAspObjType("EVA_TEMP");//sourceId:1999729_1_72831
        queryConfItemMatchAnswerDetailComReqDto_1.setConfItemCode("WORK_CYCLE_IS_OPEN_REPORT");//CUSTOM_CONVENTION//sourceId:1999730_1_72831
        queryConfItemMatchAnswerDetailComReqDto_1.setIsPlatData("FALSE");//sourceId:1999731_1_72831
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailComReqDto_1.setResultAspObjId(reqDto.getBatchSetId());//SimpleFieldAssign//sourceId:1999728_1_72831
        }

        /*D2查评价模板工作周期是否汇报配置参数[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getResultAspObjId(), "B3-查询评价模板下汇报相关配置详情-D2查评价模板工作周期是否汇报配置参数-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getResultAspObjType(), "B3-查询评价模板下汇报相关配置详情-D2查评价模板工作周期是否汇报配置参数-开通对象类型编码不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getConfItemCode(), "B3-查询评价模板下汇报相关配置详情-D2查评价模板工作周期是否汇报配置参数-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getIsPlatData(), "B3-查询评价模板下汇报相关配置详情-D2查评价模板工作周期是否汇报配置参数-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto_2 = fwCompConfSchemeClient.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


//virtualUsage D2-3查自动汇报提前时间量单位  59047
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_4 = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_2 = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto_2.setConfItemCode("AUTO_REPORT_EXECUTE_TIME_AMOUNT_ITEM");//CUSTOM_CONVENTION//sourceId:1475844_1_59047
        queryConfItemMatchAnswerDetailComReqDto_2.setIsPlatData("FALSE");//sourceId:1475845_1_59047
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailComReqDto_2.setResultAspObjId(reqDto.getBatchSetId());//SimpleFieldAssign//sourceId:1475843_1_59047
        }

        /*D2-3查自动汇报提前时间量单位[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_2.getResultAspObjId(), "B3-查询评价模板下汇报相关配置详情-D2-3查自动汇报提前时间量单位-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_2.getConfItemCode(), "B3-查询评价模板下汇报相关配置详情-D2-3查自动汇报提前时间量单位-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_2.getIsPlatData(), "B3-查询评价模板下汇报相关配置详情-D2-3查自动汇报提前时间量单位-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto_4 = fwCompConfSchemeClient.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_2).getData()/*vcase invoke 跨dubbo调用;*/;
        Assert.isTrue(queryConfItemMatchAnswerDetailComRespDto_4 == null || queryConfItemMatchAnswerDetailComRespDto_4.getOptionResultId() == null, "找不到数据，系统异常", false);

        queryConfItemMatchAnswerDetailComRespDto_5 = queryConfItemMatchAnswerDetailComRespDto_4;
//virtualUsage D3查询评价模板详情(公共)  71603
        QueryEvaTempDetailComRespDto queryEvaTempDetailComRespDto = null;
        QueryEvaTempDetailComReqDto queryEvaTempDetailComReqDto = new QueryEvaTempDetailComReqDto();
        queryEvaTempDetailComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1933381_1_71603
        if (reqDto != null) {
            queryEvaTempDetailComReqDto.setEvaluationTemplateId(reqDto.getBatchSetId());//SimpleFieldAssign//sourceId:1933379_1_71603
        }

        /*D3查询评价模板详情(公共)[8468]   */
        Assert.isNull(queryEvaTempDetailComReqDto.getEvaluationTemplateId(), "B3-查询评价模板下汇报相关配置详情-D3查询评价模板详情(公共)-评价模板ID不能为空", false);
        Assert.isNull(queryEvaTempDetailComReqDto.getSubjectLifeCycle(), "B3-查询评价模板下汇报相关配置详情-D3查询评价模板详情(公共)-主体生命周期不能为空", false);
        queryEvaTempDetailComRespDto = fwAppEvaThemeClient.queryEvaTempDetailCom(queryEvaTempDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//virtualUsage D2查汇报任务是否允许提前验收-评价主题  71604
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_6 = null;
        if (queryEvaTempDetailComRespDto != null) {
            QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_3 = new QueryConfItemMatchAnswerDetailComReqDto();
            queryConfItemMatchAnswerDetailComReqDto_3.setResultAspObjType("EVA_THEME");//sourceId:1933371_1_71604
            queryConfItemMatchAnswerDetailComReqDto_3.setConfItemCode("REPORT_TASK_CAN_BE_ACCEPTED_IN_ADVANCE");//CUSTOM_CONVENTION//sourceId:1933372_1_71604
            queryConfItemMatchAnswerDetailComReqDto_3.setIsPlatData("FALSE");//sourceId:1933373_1_71604
            if (queryEvaTempDetailComRespDto != null) {
                queryConfItemMatchAnswerDetailComReqDto_3.setResultAspObjId(queryEvaTempDetailComRespDto.getEvaluationSubjectId());//SimpleFieldAssign//sourceId:1933370_1_71604
            }

            /*D2查汇报任务是否允许提前验收-评价主题[2486]   */
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_3.getResultAspObjId(), "B3-查询评价模板下汇报相关配置详情-D2查汇报任务是否允许提前验收-评价主题-开通对象ID不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_3.getResultAspObjType(), "B3-查询评价模板下汇报相关配置详情-D2查汇报任务是否允许提前验收-评价主题-开通对象类型编码不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_3.getConfItemCode(), "B3-查询评价模板下汇报相关配置详情-D2查汇报任务是否允许提前验收-评价主题-配置项标识不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_3.getIsPlatData(), "B3-查询评价模板下汇报相关配置详情-D2查汇报任务是否允许提前验收-评价主题-是否标准答案不能为空", false);
            queryConfItemMatchAnswerDetailComRespDto_6 = fwCompConfSchemeClient.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_3).getData()/*vcase invoke 跨dubbo调用;*/;


            queryConfItemMatchAnswerDetailComRespDto_7 = queryConfItemMatchAnswerDetailComRespDto_6;
        }
//virtualUsage D2查汇报任务是否开启质检-评价主题  71605
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_8 = null;
        if (queryEvaTempDetailComRespDto != null) {
            QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_4 = new QueryConfItemMatchAnswerDetailComReqDto();
            queryConfItemMatchAnswerDetailComReqDto_4.setResultAspObjType("EVA_THEME");//sourceId:1933375_1_71605
            queryConfItemMatchAnswerDetailComReqDto_4.setConfItemCode("IS_OPEN_QUALITY_TEST");//CUSTOM_CONVENTION//sourceId:1933376_1_71605
            queryConfItemMatchAnswerDetailComReqDto_4.setIsPlatData("FALSE");//sourceId:1933377_1_71605
            if (queryEvaTempDetailComRespDto != null) {
                queryConfItemMatchAnswerDetailComReqDto_4.setResultAspObjId(queryEvaTempDetailComRespDto.getEvaluationSubjectId());//SimpleFieldAssign//sourceId:1933374_1_71605
            }

            /*D2查汇报任务是否开启质检-评价主题[2486]   */
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_4.getResultAspObjId(), "B3-查询评价模板下汇报相关配置详情-D2查汇报任务是否开启质检-评价主题-开通对象ID不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_4.getResultAspObjType(), "B3-查询评价模板下汇报相关配置详情-D2查汇报任务是否开启质检-评价主题-开通对象类型编码不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_4.getConfItemCode(), "B3-查询评价模板下汇报相关配置详情-D2查汇报任务是否开启质检-评价主题-配置项标识不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_4.getIsPlatData(), "B3-查询评价模板下汇报相关配置详情-D2查汇报任务是否开启质检-评价主题-是否标准答案不能为空", false);
            queryConfItemMatchAnswerDetailComRespDto_8 = fwCompConfSchemeClient.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_4).getData()/*vcase invoke 跨dubbo调用;*/;


            queryConfItemMatchAnswerDetailComRespDto_9 = queryConfItemMatchAnswerDetailComRespDto_8;
        }
//virtualUsage D2-3查是否开启汇报任务目标内容树筛选  72819
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_10 = null;
        if (queryEvaTempDetailComRespDto != null) {
            QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_5 = new QueryConfItemMatchAnswerDetailComReqDto();
            queryConfItemMatchAnswerDetailComReqDto_5.setConfItemCode("IS_OPEN_REPORT_TASK_CATE_SELECT");//CUSTOM_CONVENTION//sourceId:1998697_1_72819
            queryConfItemMatchAnswerDetailComReqDto_5.setIsPlatData("FALSE");//sourceId:1998698_1_72819
            if (queryEvaTempDetailComRespDto != null) {
                queryConfItemMatchAnswerDetailComReqDto_5.setResultAspObjId(queryEvaTempDetailComRespDto.getEvaluationSubjectId());//SimpleFieldAssign//sourceId:1998695_1_72819
            }

            /*D2-3查是否开启汇报任务目标内容树筛选[2486]   */
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_5.getResultAspObjId(), "B3-查询评价模板下汇报相关配置详情-D2-3查是否开启汇报任务目标内容树筛选-开通对象ID不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_5.getConfItemCode(), "B3-查询评价模板下汇报相关配置详情-D2-3查是否开启汇报任务目标内容树筛选-配置项标识不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_5.getIsPlatData(), "B3-查询评价模板下汇报相关配置详情-D2-3查是否开启汇报任务目标内容树筛选-是否标准答案不能为空", false);
            queryConfItemMatchAnswerDetailComRespDto_10 = fwCompConfSchemeClient.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_5).getData()/*vcase invoke 跨dubbo调用;*/;


        }
//virtualUsage D2查汇报任务是否开启周期筛选  72843
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_12 = null;
        if (queryEvaTempDetailComRespDto != null) {
            QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_6 = new QueryConfItemMatchAnswerDetailComReqDto();
            queryConfItemMatchAnswerDetailComReqDto_6.setResultAspObjType("EVA_THEME");//sourceId:2000695_1_72843
            queryConfItemMatchAnswerDetailComReqDto_6.setConfItemCode("IS_OPEN_REPORT_TASK_CYCLE_SELECT");//CUSTOM_CONVENTION//sourceId:2000696_1_72843
            queryConfItemMatchAnswerDetailComReqDto_6.setIsPlatData("FALSE");//sourceId:2000697_1_72843
            if (queryEvaTempDetailComRespDto != null) {
                queryConfItemMatchAnswerDetailComReqDto_6.setResultAspObjId(queryEvaTempDetailComRespDto.getEvaluationSubjectId());//SimpleFieldAssign//sourceId:2000694_1_72843
            }

            /*D2查汇报任务是否开启周期筛选[2486]   */
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_6.getResultAspObjId(), "B3-查询评价模板下汇报相关配置详情-D2查汇报任务是否开启周期筛选-开通对象ID不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_6.getResultAspObjType(), "B3-查询评价模板下汇报相关配置详情-D2查汇报任务是否开启周期筛选-开通对象类型编码不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_6.getConfItemCode(), "B3-查询评价模板下汇报相关配置详情-D2查汇报任务是否开启周期筛选-配置项标识不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_6.getIsPlatData(), "B3-查询评价模板下汇报相关配置详情-D2查汇报任务是否开启周期筛选-是否标准答案不能为空", false);
            queryConfItemMatchAnswerDetailComRespDto_12 = fwCompConfSchemeClient.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_6).getData()/*vcase invoke 跨dubbo调用;*/;


        }
//virtualUsage D2查汇报任务是否开启按人筛选-评价主题  72844
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_14 = null;
        if (queryEvaTempDetailComRespDto != null) {
            QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_7 = new QueryConfItemMatchAnswerDetailComReqDto();
            queryConfItemMatchAnswerDetailComReqDto_7.setResultAspObjType("EVA_THEME");//sourceId:2000744_1_72844
            queryConfItemMatchAnswerDetailComReqDto_7.setConfItemCode("IS_OPEN_REPORT_TASK_PERSON_SELECT");//CUSTOM_CONVENTION//sourceId:2000745_1_72844
            queryConfItemMatchAnswerDetailComReqDto_7.setIsPlatData("FALSE");//sourceId:2000746_1_72844
            if (queryEvaTempDetailComRespDto != null) {
                queryConfItemMatchAnswerDetailComReqDto_7.setResultAspObjId(queryEvaTempDetailComRespDto.getEvaluationSubjectId());//SimpleFieldAssign//sourceId:2000743_1_72844
            }

            /*D2查汇报任务是否开启按人筛选-评价主题[2486]   */
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_7.getResultAspObjId(), "B3-查询评价模板下汇报相关配置详情-D2查汇报任务是否开启按人筛选-评价主题-开通对象ID不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_7.getResultAspObjType(), "B3-查询评价模板下汇报相关配置详情-D2查汇报任务是否开启按人筛选-评价主题-开通对象类型编码不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_7.getConfItemCode(), "B3-查询评价模板下汇报相关配置详情-D2查汇报任务是否开启按人筛选-评价主题-配置项标识不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_7.getIsPlatData(), "B3-查询评价模板下汇报相关配置详情-D2查汇报任务是否开启按人筛选-评价主题-是否标准答案不能为空", false);
            queryConfItemMatchAnswerDetailComRespDto_14 = fwCompConfSchemeClient.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_7).getData()/*vcase invoke 跨dubbo调用;*/;


        }
//virtualUsage D2查汇报任务是否开启按部门筛选-评价主题  72845
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_16 = null;
        if (queryEvaTempDetailComRespDto != null) {
            QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_8 = new QueryConfItemMatchAnswerDetailComReqDto();
            queryConfItemMatchAnswerDetailComReqDto_8.setResultAspObjType("EVA_THEME");//sourceId:2000748_1_72845
            queryConfItemMatchAnswerDetailComReqDto_8.setConfItemCode("IS_OPEN_REPORT_TASK_DEPT_SELECT");//CUSTOM_CONVENTION//sourceId:2000749_1_72845
            queryConfItemMatchAnswerDetailComReqDto_8.setIsPlatData("FALSE");//sourceId:2000750_1_72845
            if (queryEvaTempDetailComRespDto != null) {
                queryConfItemMatchAnswerDetailComReqDto_8.setResultAspObjId(queryEvaTempDetailComRespDto.getEvaluationSubjectId());//SimpleFieldAssign//sourceId:2000747_1_72845
            }

            /*D2查汇报任务是否开启按部门筛选-评价主题[2486]   */
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_8.getResultAspObjId(), "B3-查询评价模板下汇报相关配置详情-D2查汇报任务是否开启按部门筛选-评价主题-开通对象ID不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_8.getResultAspObjType(), "B3-查询评价模板下汇报相关配置详情-D2查汇报任务是否开启按部门筛选-评价主题-开通对象类型编码不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_8.getConfItemCode(), "B3-查询评价模板下汇报相关配置详情-D2查汇报任务是否开启按部门筛选-评价主题-配置项标识不能为空", false);
            Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_8.getIsPlatData(), "B3-查询评价模板下汇报相关配置详情-D2查汇报任务是否开启按部门筛选-评价主题-是否标准答案不能为空", false);
            queryConfItemMatchAnswerDetailComRespDto_16 = fwCompConfSchemeClient.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_8).getData()/*vcase invoke 跨dubbo调用;*/;


        }
//virtualUsage D3获取接收字段服务(公共)  72846
        ObtainReceiveFieldComRespDto obtainReceiveFieldComRespDto = null;
        if (queryConfItemMatchAnswerDetailComRespDto_2 != null && queryConfItemMatchAnswerDetailComRespDto_10 != null && queryConfItemMatchAnswerDetailComRespDto_12 != null && queryConfItemMatchAnswerDetailComRespDto_14 != null && queryConfItemMatchAnswerDetailComRespDto_16 != null) {
            ObtainReceiveFieldComReqDto obtainReceiveFieldComReqDto = new ObtainReceiveFieldComReqDto();
            if (queryConfItemMatchAnswerDetailComRespDto_2 != null) {
                obtainReceiveFieldComReqDto.setWorkCycleIsOpenReport(queryConfItemMatchAnswerDetailComRespDto_2.getEndValue());//SimpleFieldAssign//sourceId:2001011_1_72846
            }
            if (queryConfItemMatchAnswerDetailComRespDto_10 != null) {
                obtainReceiveFieldComReqDto.setIsOpenReportTaskCateSelect(queryConfItemMatchAnswerDetailComRespDto_10.getEndValue());//SimpleFieldAssign//sourceId:2001025_1_72846
            }
            if (queryConfItemMatchAnswerDetailComRespDto_12 != null) {
                obtainReceiveFieldComReqDto.setIsOpenReportTaskCycleSelect(queryConfItemMatchAnswerDetailComRespDto_12.getEndValue());//SimpleFieldAssign//sourceId:2001012_1_72846
            }
            if (queryConfItemMatchAnswerDetailComRespDto_14 != null) {
                obtainReceiveFieldComReqDto.setIsOpenReportTaskPersonSelect(queryConfItemMatchAnswerDetailComRespDto_14.getEndValue());//SimpleFieldAssign//sourceId:2001013_1_72846
            }
            if (queryConfItemMatchAnswerDetailComRespDto_16 != null) {
                obtainReceiveFieldComReqDto.setIsOpenReportTaskDeptSelect(queryConfItemMatchAnswerDetailComRespDto_16.getEndValue());//SimpleFieldAssign//sourceId:2001014_1_72846
            }

            /*D3获取接收字段服务(公共)[3774]   */

            obtainReceiveFieldComRespDto = fwAppDivineDataClient.obtainReceiveFieldCom(obtainReceiveFieldComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            obtainReceiveFieldComRespDto_1 = obtainReceiveFieldComRespDto;
        }
        if ((queryConfItemMatchAnswerDetailComRespDto != null && queryConfItemMatchAnswerDetailComRespDto.getEndValue() != null && queryConfItemMatchAnswerDetailComRespDto.getEndValue().equals("DOC_TYPE"))) {
            //if(D2-3查询评价模板数据参数类型(资料性/进度型/达成度型).答案值 等于 资料型)  22929

            QueryOutputParametersDetailComRespDto queryOutputParametersDetailComRespDto = null;
            QueryOutputParametersDetailComReqDto queryOutputParametersDetailComReqDto = new QueryOutputParametersDetailComReqDto();
            queryOutputParametersDetailComReqDto.setIsOpenAudit("TRUE");//sourceId:464971_1_22931
            queryOutputParametersDetailComReqDto.setIsOpenEvaWork("FALSE");//sourceId:464972_1_22931

            /*D2接收输出参数(公共)[4196]   */
            Assert.isNull(queryOutputParametersDetailComReqDto.getIsOpenAudit(), "B3-查询评价模板下汇报相关配置详情-D2接收输出参数(公共)-是否开启主管人工审核不能为空", false);
            Assert.isNull(queryOutputParametersDetailComReqDto.getIsOpenEvaWork(), "B3-查询评价模板下汇报相关配置详情-D2接收输出参数(公共)-是否开启评价工作不能为空", false);
            queryOutputParametersDetailComRespDto = fwCompDivineDataClient.queryOutputParametersDetailCom(queryOutputParametersDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            queryOutputParametersDetailComRespDto_1 = queryOutputParametersDetailComRespDto;
        } else if ((!(queryConfItemMatchAnswerDetailComRespDto != null && queryConfItemMatchAnswerDetailComRespDto.getEndValue() != null && queryConfItemMatchAnswerDetailComRespDto.getEndValue().equals("DOC_TYPE")))) {
            //elseif(D2-3查询评价模板数据参数类型(资料性/进度型/达成度型).答案值 不等于 资料型)  22932

            QueryItemMatchResultToAnswerDetailComRespDto queryItemMatchResultToAnswerDetailComRespDto = null;
            QueryItemMatchResultToAnswerDetailComReqDto queryItemMatchResultToAnswerDetailComReqDto = new QueryItemMatchResultToAnswerDetailComReqDto();
            queryItemMatchResultToAnswerDetailComReqDto.setResultAspObjType("EVA_TEMP");//sourceId:122592_1_22934
            queryItemMatchResultToAnswerDetailComReqDto.setConfItemCode("IS_OPEN_AUDIT");//CUSTOM_CONVENTION//sourceId:122591_1_22934
            queryItemMatchResultToAnswerDetailComReqDto.setIsPlatData("FALSE");//sourceId:308470_1_22934
            if (reqDto != null) {
                queryItemMatchResultToAnswerDetailComReqDto.setResultAspObjId(reqDto.getBatchSetId());//SimpleFieldAssign//sourceId:122593_1_22934
            }

            /*D2-3查询评价模版是否开启主管人工审核[3094]   */
            Assert.isNull(queryItemMatchResultToAnswerDetailComReqDto.getResultAspObjId(), "B3-查询评价模板下汇报相关配置详情-D2-3查询评价模版是否开启主管人工审核-开通对象ID不能为空", false);
            Assert.isNull(queryItemMatchResultToAnswerDetailComReqDto.getResultAspObjType(), "B3-查询评价模板下汇报相关配置详情-D2-3查询评价模版是否开启主管人工审核-开通对象类型编码不能为空", false);
            Assert.isNull(queryItemMatchResultToAnswerDetailComReqDto.getConfItemCode(), "B3-查询评价模板下汇报相关配置详情-D2-3查询评价模版是否开启主管人工审核-配置项标识不能为空", false);
            Assert.isNull(queryItemMatchResultToAnswerDetailComReqDto.getIsPlatData(), "B3-查询评价模板下汇报相关配置详情-D2-3查询评价模版是否开启主管人工审核-是否标准答案不能为空", false);
            queryItemMatchResultToAnswerDetailComRespDto = fwCompConfSchemeClient.queryItemMatchResultToAnswerDetailCom(queryItemMatchResultToAnswerDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            queryItemMatchResultToAnswerDetailComRespDto_1 = queryItemMatchResultToAnswerDetailComRespDto;
            QueryItemMatchResultToAnswerDetailComRespDto queryItemMatchResultToAnswerDetailComRespDto_2 = null;
            QueryItemMatchResultToAnswerDetailComReqDto queryItemMatchResultToAnswerDetailComReqDto_1 = new QueryItemMatchResultToAnswerDetailComReqDto();
            queryItemMatchResultToAnswerDetailComReqDto_1.setResultAspObjType("EVA_TEMP");//sourceId:524072_1_25338
            queryItemMatchResultToAnswerDetailComReqDto_1.setConfItemCode("IS_OPEN_EVA_WORK");//CUSTOM_CONVENTION//sourceId:524071_1_25338
            queryItemMatchResultToAnswerDetailComReqDto_1.setIsPlatData("FALSE");//sourceId:524120_1_25338
            if (reqDto != null) {
                queryItemMatchResultToAnswerDetailComReqDto_1.setResultAspObjId(reqDto.getBatchSetId());//SimpleFieldAssign//sourceId:524073_1_25338
            }

            /*D2-3查询评价模版是否开启评价[3094]   */
            Assert.isNull(queryItemMatchResultToAnswerDetailComReqDto_1.getResultAspObjId(), "B3-查询评价模板下汇报相关配置详情-D2-3查询评价模版是否开启评价-开通对象ID不能为空", false);
            Assert.isNull(queryItemMatchResultToAnswerDetailComReqDto_1.getResultAspObjType(), "B3-查询评价模板下汇报相关配置详情-D2-3查询评价模版是否开启评价-开通对象类型编码不能为空", false);
            Assert.isNull(queryItemMatchResultToAnswerDetailComReqDto_1.getConfItemCode(), "B3-查询评价模板下汇报相关配置详情-D2-3查询评价模版是否开启评价-配置项标识不能为空", false);
            Assert.isNull(queryItemMatchResultToAnswerDetailComReqDto_1.getIsPlatData(), "B3-查询评价模板下汇报相关配置详情-D2-3查询评价模版是否开启评价-是否标准答案不能为空", false);
            queryItemMatchResultToAnswerDetailComRespDto_2 = fwCompConfSchemeClient.queryItemMatchResultToAnswerDetailCom(queryItemMatchResultToAnswerDetailComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


            queryItemMatchResultToAnswerDetailComRespDto_3 = queryItemMatchResultToAnswerDetailComRespDto_2;
        }
        BffQueryConfigOfReportingTaskDetailRespDto retData = new BffQueryConfigOfReportingTaskDetailRespDto();
        if (queryPlanEvaBatchSetDetailComRespDto_1 != null) {
            retData.setUsingLockStatus(queryPlanEvaBatchSetDetailComRespDto_1.getUsingLockStatus());//SimpleFieldAssign//sourceId:101774_1
        }
        if (querySchemeMatchSingleResultToAnswerDetailComRespDto_1 != null) {
            retData.setSchemeDataPara(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getSchemeDataPara());//SimpleFieldAssign//sourceId:1957487_1
            retData.setEvaluationTemplateTypeCode(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getEvaluationTemplateTypeCode());//SimpleFieldAssign//sourceId:1221976_1
            retData.setCycleMode(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getCycleMode());//SimpleFieldAssign//sourceId:1221977_1
            retData.setIsOpenCreateTaskPlanTime(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getIsOpenCreateTaskPlanTime());//SimpleFieldAssign//sourceId:1221978_1
            retData.setReportProgressEnterMethod(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getReportProgressEnterMethod());//SimpleFieldAssign//sourceId:1743871_1
            retData.setProgressDecimalPoint(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getProgressDecimalPoint());//SimpleFieldAssign//sourceId:1933823_1
            retData.setActualValueDecimalPoint(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getActualValueDecimalPoint());//SimpleFieldAssign//sourceId:1933824_1
            retData.setDecimalDigitsLastRules(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:1933825_1
            retData.setIsOpenSymbolicAchievements(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getIsOpenSymbolicAchievements());//SimpleFieldAssign//sourceId:1938922_1
            retData.setProcessIsOpenAchiveDocking(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getProcessIsOpenAchiveDocking());//SimpleFieldAssign//sourceId:1938923_1
            retData.setReportAchieveEnter(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getReportAchieveEnter());//SimpleFieldAssign//sourceId:1944018_1
        }
        if (queryOutputParametersDetailComRespDto_1 != null) {
            retData.setIsOpenEvaWork(queryOutputParametersDetailComRespDto_1.getIsOpenEvaWork());//SimpleFieldAssign//sourceId:524123_1
            retData.setIsOpenAudit(queryOutputParametersDetailComRespDto_1.getIsOpenAudit());//SimpleFieldAssign//sourceId:122683_1
        }
        if (queryItemMatchResultToAnswerDetailComRespDto_3 != null) {
            retData.setIsOpenEvaWork(queryItemMatchResultToAnswerDetailComRespDto_3.getIsOpenEvaWork());//SimpleFieldAssign//sourceId:524123_1
        }
        if (queryItemMatchResultToAnswerDetailComRespDto_1 != null) {
            retData.setIsOpenAudit(queryItemMatchResultToAnswerDetailComRespDto_1.getIsOpenAudit());//SimpleFieldAssign//sourceId:122683_1
        }
        if (queryConfItemMatchAnswerDetailComRespDto_1 != null) {
            retData.setEndValue(queryConfItemMatchAnswerDetailComRespDto_1.getEndValue());//SimpleFieldAssign//sourceId:594099_1
        }
        if (queryConfItemMatchAnswerDetailComRespDto_5 != null) {
            retData.setTimeUnitType(queryConfItemMatchAnswerDetailComRespDto_5.getExtensionField1());//SimpleFieldAssign//sourceId:1475846_1
        }
        if (queryConfItemMatchAnswerDetailComRespDto_7 != null) {
            retData.setReportTaskCanBeAcceptedInAdvance(queryConfItemMatchAnswerDetailComRespDto_7.getEndValue());//SimpleFieldAssign//sourceId:1933390_1
        }
        if (queryConfItemMatchAnswerDetailComRespDto_9 != null) {
            retData.setIsOpenQualityTest(queryConfItemMatchAnswerDetailComRespDto_9.getEndValue());//SimpleFieldAssign//sourceId:1933391_1
        }
        if (obtainReceiveFieldComRespDto_1 != null) {
            retData.setWorkCycleIsOpenReport(obtainReceiveFieldComRespDto_1.getWorkCycleIsOpenReport());//SimpleFieldAssign//sourceId:2001027_1
            retData.setIsOpenReportTaskCateSelect(obtainReceiveFieldComRespDto_1.getIsOpenReportTaskCateSelect());//SimpleFieldAssign//sourceId:2001028_1
            retData.setIsOpenReportTaskCycleSelect(obtainReceiveFieldComRespDto_1.getIsOpenReportTaskCycleSelect());//SimpleFieldAssign//sourceId:2001029_1
            retData.setIsOpenReportTaskPersonSelect(obtainReceiveFieldComRespDto_1.getIsOpenReportTaskPersonSelect());//SimpleFieldAssign//sourceId:2001030_1
            retData.setIsOpenReportTaskDeptSelect(obtainReceiveFieldComRespDto_1.getIsOpenReportTaskDeptSelect());//SimpleFieldAssign//sourceId:2001031_1
        }


        return retData;
    }

    /**
     * B3-查待汇报的工作任务标准数据详情[3305]
     * gen by moon at 8/20/2024, 2:43:44 PM
     */
    @Trace(operationName = "B3-查待汇报的工作任务标准数据详情")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryTaskReportStandardDataDetailRespDto queryTaskReportStandardDataDetail(BffQueryTaskReportStandardDataDetailReqDto reqDto) {


        QueryToBeReportedWorkTaskStandardDataDetailComRespDto queryToBeReportedWorkTaskStandardDataDetailComRespDto_1 = null;
//步骤0: D4-查待汇报工作任务标准数据详情(公共) - queryToBeReportedWorkTaskStandardDataDetailCom
        QueryToBeReportedWorkTaskStandardDataDetailComRespDto queryToBeReportedWorkTaskStandardDataDetailComRespDto = null;
        QueryToBeReportedWorkTaskStandardDataDetailComReqDto queryToBeReportedWorkTaskStandardDataDetailComReqDto = new QueryToBeReportedWorkTaskStandardDataDetailComReqDto();
        queryToBeReportedWorkTaskStandardDataDetailComReqDto.setIsNewData("TRUE");//sourceId:1364928_1
        queryToBeReportedWorkTaskStandardDataDetailComReqDto.setDataUsageSceneCode("PMO_DATA_STATISTICS");//sourceId:1364929_1
        queryToBeReportedWorkTaskStandardDataDetailComReqDto.setDataType("PROGRESS_VALUE");//sourceId:1364926_1
        queryToBeReportedWorkTaskStandardDataDetailComReqDto.setIsArchive("FALSE");//sourceId:1364930_1
        if (reqDto != null) {
            queryToBeReportedWorkTaskStandardDataDetailComReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1364927_1
            queryToBeReportedWorkTaskStandardDataDetailComReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1979442_1
        }

        /*D4-查待汇报工作任务标准数据详情(公共)[8052]   */
        Assert.isNull(queryToBeReportedWorkTaskStandardDataDetailComReqDto.getEntityId(), "B3-查待汇报的工作任务标准数据详情-D4-查待汇报工作任务标准数据详情(公共)-归属内容表主键ID不能为空", false);
        Assert.isNull(queryToBeReportedWorkTaskStandardDataDetailComReqDto.getIsNewData(), "B3-查待汇报的工作任务标准数据详情-D4-查待汇报工作任务标准数据详情(公共)-是否归属周期最新数据不能为空", false);
        Assert.isNull(queryToBeReportedWorkTaskStandardDataDetailComReqDto.getDataUsageSceneCode(), "B3-查待汇报的工作任务标准数据详情-D4-查待汇报工作任务标准数据详情(公共)-数据业务场景不能为空", false);
        Assert.isNull(queryToBeReportedWorkTaskStandardDataDetailComReqDto.getDataType(), "B3-查待汇报的工作任务标准数据详情-D4-查待汇报工作任务标准数据详情(公共)-数据点类型不能为空", false);
        Assert.isNull(queryToBeReportedWorkTaskStandardDataDetailComReqDto.getIsArchive(), "B3-查待汇报的工作任务标准数据详情-D4-查待汇报工作任务标准数据详情(公共)-是否存档不能为空", false);
        queryToBeReportedWorkTaskStandardDataDetailComRespDto = fwCalcWorkTasksClient.queryToBeReportedWorkTaskStandardDataDetailCom(queryToBeReportedWorkTaskStandardDataDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryToBeReportedWorkTaskStandardDataDetailComRespDto_1 = queryToBeReportedWorkTaskStandardDataDetailComRespDto;

        BffQueryTaskReportStandardDataDetailRespDto retData = new BffQueryTaskReportStandardDataDetailRespDto();
        if (queryToBeReportedWorkTaskStandardDataDetailComRespDto_1 != null) {
            retData.setDataResultId(queryToBeReportedWorkTaskStandardDataDetailComRespDto_1.getDataResultId());//SimpleFieldAssign//sourceId:1364933_1
            retData.setDataResult(queryToBeReportedWorkTaskStandardDataDetailComRespDto_1.getDataResult());//SimpleFieldAssign//sourceId:1364934_1
        }


        return retData;
    }

    /**
     * B3-生成目标内容汇报任务（人工真实测试）[4648]
     * gen by moon at 9/22/2022, 1:09:06 AM
     */
    @Trace(operationName = "B3-生成目标内容汇报任务（人工真实测试）")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffAddTargetReportTasksRespDto addTargetReportTasks(BffAddTargetReportTasksReqDto reqDto) {


        //步骤0: D3生成目标内容汇报任务(公共) - generateTargetReportTasksCom
        GenerateTargetReportTasksComRespDto generateTargetReportTasksComRespDto = null;
        GenerateTargetReportTasksComReqDto generateTargetReportTasksComReqDto = new GenerateTargetReportTasksComReqDto();
        if (reqDto != null) {
//      generateTargetReportTasksComReqDto.setCrontabOriginatorId(reqDto.getCrontabOriginatorId());//sourceId:339315_1
            generateTargetReportTasksComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//sourceId:339311_1
            generateTargetReportTasksComReqDto.setExecuteCycleStageId(reqDto.getExecuteCycleStageId());//sourceId:339313_1
            generateTargetReportTasksComReqDto.setCompareTime(reqDto.getCompareTime());//sourceId:339314_1
            generateTargetReportTasksComReqDto.setSpaceId(reqDto.getSpaceId());//sourceId:339312_1
        }

        /*D3生成目标内容汇报任务(公共)[3293]   */
//    Assert.isNull(generateTargetReportTasksComReqDto.getCrontabOriginatorId(),"B3-生成目标内容汇报任务（人工真实测试）-D3生成目标内容汇报任务(公共)-定时任务调度记录ID不能为空",false);
        Assert.isNull(generateTargetReportTasksComReqDto.getEvaObjTargetCycleId(), "B3-生成目标内容汇报任务（人工真实测试）-D3生成目标内容汇报任务(公共)-被评对象目标周期ID不能为空", false);
        Assert.isNull(generateTargetReportTasksComReqDto.getExecuteCycleStageId(), "B3-生成目标内容汇报任务（人工真实测试）-D3生成目标内容汇报任务(公共)-执行周期阶段ID不能为空", false);
        Assert.isNull(generateTargetReportTasksComReqDto.getCompareTime(), "B3-生成目标内容汇报任务（人工真实测试）-D3生成目标内容汇报任务(公共)-比较时间不能为空", false);
        Assert.isNull(generateTargetReportTasksComReqDto.getSpaceId(), "B3-生成目标内容汇报任务（人工真实测试）-D3生成目标内容汇报任务(公共)-创建于空间ID不能为空", false);
        generateTargetReportTasksComRespDto = fwAppTaskClient.generateTargetReportTasksCom(generateTargetReportTasksComReqDto).getData();


        BffAddTargetReportTasksRespDto retData = new BffAddTargetReportTasksRespDto();


        return retData;
    }

    /**
     * B3-计算汇报任务的标准数据（人工真实测试）[4659]
     * gen by moon at 9/28/2022, 7:15:22 AM
     */
    @Trace(operationName = "B3-计算汇报任务的标准数据（人工真实测试）")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffCalculateTaskReportStandardDataRespDto calculateTaskReportStandardData(BffCalculateTaskReportStandardDataReqDto reqDto) {


        //步骤0: D3-计算汇报任务的标准数据(公共) - calculateTaskReportStandardDataCom
        CalculateTaskReportStandardDataComRespDto calculateTaskReportStandardDataComRespDto = null;
        CalculateTaskReportStandardDataComReqDto calculateTaskReportStandardDataComReqDto = new CalculateTaskReportStandardDataComReqDto();
        if (reqDto != null) {
//      calculateTaskReportStandardDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//sourceId:339452_1
//calculateTaskReportStandardDataComReqDto.setExecuteCycleStageId(reqDto.getExecuteCycleStageId());//sourceId:339453_1
//calculateTaskReportStandardDataComReqDto.setSpaceId(reqDto.getSpaceId());//sourceId:339454_1
//calculateTaskReportStandardDataComReqDto.setTimingTaskDispatchId(reqDto.getTimingTaskDispatchId());//sourceId:352842_1
        }

        /*D3-计算汇报任务的标准数据(公共)[3616]   */
//    Assert.isNull(calculateTaskReportStandardDataComReqDto.getEvaObjTargetCycleId(),"B3-计算汇报任务的标准数据（人工真实测试）-D3-计算汇报任务的标准数据(公共)-被评对象目标周期ID不能为空",false);
//Assert.isNull(calculateTaskReportStandardDataComReqDto.getExecuteCycleStageId(),"B3-计算汇报任务的标准数据（人工真实测试）-D3-计算汇报任务的标准数据(公共)-执行周期阶段ID不能为空",false);
//Assert.isNull(calculateTaskReportStandardDataComReqDto.getSpaceId(),"B3-计算汇报任务的标准数据（人工真实测试）-D3-计算汇报任务的标准数据(公共)-创建于空间ID不能为空",false);
//Assert.isNull(calculateTaskReportStandardDataComReqDto.getTimingTaskDispatchId(),"B3-计算汇报任务的标准数据（人工真实测试）-D3-计算汇报任务的标准数据(公共)-定时任务调度记录ID不能为空",false);
//      calculateTaskReportStandardDataComRespDto = fwAppTaskClient.calculateTaskReportStandardDataCom(calculateTaskReportStandardDataComReqDto).getData();


        BffCalculateTaskReportStandardDataRespDto retData = new BffCalculateTaskReportStandardDataRespDto();


        return retData;
    }

    /**
     * B3-提交我汇报的任务标准数据[3183]
     * gen by moon at 3/13/2024, 5:35:52 AM
     */
    @Trace(operationName = "B3-提交我汇报的任务标准数据")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffCommitTaskReportProgressAndTargetDataRespDto commitTaskReportProgressAndTargetData(BffCommitTaskReportProgressAndTargetDataReqDto reqDto) {


        //virtualUsage D3-操作汇报任务权限校验(公共)  54557
        TempStorageTaskReportPermissionVerificationComRespDto tempStorageTaskReportPermissionVerificationComRespDto = null;
        TempStorageTaskReportPermissionVerificationComReqDto tempStorageTaskReportPermissionVerificationComReqDto = new TempStorageTaskReportPermissionVerificationComReqDto();
        if (reqDto != null) {
//      tempStorageTaskReportPermissionVerificationComReqDto.setTargetCycleContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1562747_1_54557
            tempStorageTaskReportPermissionVerificationComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1350344_1_54557
        }

        /*D3-操作汇报任务权限校验(公共)[6302]   */
//    Assert.isNull(tempStorageTaskReportPermissionVerificationComReqDto.getTargetCycleContentId(),"B3-提交我汇报的任务标准数据-D3-操作汇报任务权限校验(公共)-关联目标内容ID不能为空",false);
        Assert.isNull(tempStorageTaskReportPermissionVerificationComReqDto.getEvaluationTemplateId(), "B3-提交我汇报的任务标准数据-D3-操作汇报任务权限校验(公共)-冗余评价模板ID不能为空", false);
        tempStorageTaskReportPermissionVerificationComRespDto = fwAppTaskClient.tempStorageTaskReportPermissionVerificationCom(tempStorageTaskReportPermissionVerificationComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        if ((reqDto != null && reqDto.getTargetValueType() != null && reqDto.getTargetValueType().equals("PROGRESS") && reqDto != null && reqDto.getProgressValue() != null && reqDto != null && reqDto.getActualValue() != null)) {
            //if((B3-提交我汇报的任务标准数据.冗余指标业务类型 等于 进度型 and B3-提交我汇报的任务标准数据.进度值（数值） 值不等于空  and B3-提交我汇报的任务标准数据.实际值（数值） 值不等于空 ))  61936

//processBranchName:正常结束 ,processBranchId:61939

        } else {
            //else  61937

            ImplementTaskReportProgressAndTargetDataComRespDto implementTaskReportProgressAndTargetDataComRespDto = null;
            ImplementTaskReportProgressAndTargetDataComReqDto implementTaskReportProgressAndTargetDataComReqDto = new ImplementTaskReportProgressAndTargetDataComReqDto();
            if (reqDto != null) {
                implementTaskReportProgressAndTargetDataComReqDto.setProgressValue(reqDto.getProgressValue());//SimpleFieldAssign//sourceId:784466_1_61938
                implementTaskReportProgressAndTargetDataComReqDto.setActualValue(reqDto.getActualValue());//SimpleFieldAssign//sourceId:784467_1_61938
//implementTaskReportProgressAndTargetDataComReqDto.setProgressValueElement(reqDto.getProgressValueElement());//SimpleFieldAssign//sourceId:1562568_1_61938
//implementTaskReportProgressAndTargetDataComReqDto.setActualValueElement(reqDto.getActualValueElement());//SimpleFieldAssign//sourceId:1562569_1_61938
//implementTaskReportProgressAndTargetDataComReqDto.setTargetValueType(reqDto.getTargetValueType());//SimpleFieldAssign//sourceId:1562750_1_61938
            }

            /*D3-判断进度值和目标值是否可以提交[6155]   */
//    Assert.isNull(implementTaskReportProgressAndTargetDataComReqDto.getProgressValueElement(),"B3-提交我汇报的任务标准数据-D3-判断进度值和目标值是否可以提交-进度值元素不能为空",false);
//Assert.isNull(implementTaskReportProgressAndTargetDataComReqDto.getActualValueElement(),"B3-提交我汇报的任务标准数据-D3-判断进度值和目标值是否可以提交-实际值元素不能为空",false);
//Assert.isNull(implementTaskReportProgressAndTargetDataComReqDto.getTargetValueType(),"B3-提交我汇报的任务标准数据-D3-判断进度值和目标值是否可以提交-冗余指标业务类型不能为空",false);
            implementTaskReportProgressAndTargetDataComRespDto = fwAppTaskClient.implementTaskReportProgressAndTargetDataCom(implementTaskReportProgressAndTargetDataComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        }
//virtualUsage D3-判断预算汇报是否可以提交(公共)  54558
        JudgeBudgetReportCanBeSubmitComRespDto judgeBudgetReportCanBeSubmitComRespDto = null;
        JudgeBudgetReportCanBeSubmitComReqDto judgeBudgetReportCanBeSubmitComReqDto = new JudgeBudgetReportCanBeSubmitComReqDto();
        if (reqDto != null) {
            judgeBudgetReportCanBeSubmitComReqDto.setBudgetAmountElement(reqDto.getBudgetAmountElement());//SimpleFieldAssign//sourceId:1562560_1_54558
            judgeBudgetReportCanBeSubmitComReqDto.setBudgetDisburse(reqDto.getBudgetDisburse());//SimpleFieldAssign//sourceId:1561594_1_54558
            judgeBudgetReportCanBeSubmitComReqDto.setTargetCycleContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1350470_1_54558
            judgeBudgetReportCanBeSubmitComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1350471_1_54558
        }

        /*D3-判断预算汇报是否可以提交(公共)[8018]   */
        Assert.isNull(judgeBudgetReportCanBeSubmitComReqDto.getBudgetAmountElement(), "B3-提交我汇报的任务标准数据-D3-判断预算汇报是否可以提交(公共)-预算元素不能为空", false);
        Assert.isNull(judgeBudgetReportCanBeSubmitComReqDto.getTargetCycleContentId(), "B3-提交我汇报的任务标准数据-D3-判断预算汇报是否可以提交(公共)-关联目标内容ID不能为空", false);
        Assert.isNull(judgeBudgetReportCanBeSubmitComReqDto.getEvaluationTemplateId(), "B3-提交我汇报的任务标准数据-D3-判断预算汇报是否可以提交(公共)-冗余评价模板ID不能为空", false);
        judgeBudgetReportCanBeSubmitComRespDto = fwAppFinanceClient.judgeBudgetReportCanBeSubmitCom(judgeBudgetReportCanBeSubmitComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//virtualUsage D3-提交我汇报的任务标准数据(公共)  34978
        CommitTaskReportProgressAndTargetDataComRespDto commitTaskReportProgressAndTargetDataComRespDto = null;
        CommitTaskReportProgressAndTargetDataComReqDto commitTaskReportProgressAndTargetDataComReqDto = new CommitTaskReportProgressAndTargetDataComReqDto();
        if (reqDto != null) {
            commitTaskReportProgressAndTargetDataComReqDto.setProgressValue(reqDto.getProgressValue());//SimpleFieldAssign//sourceId:595947_1_34978
            commitTaskReportProgressAndTargetDataComReqDto.setActualValue(reqDto.getActualValue());//SimpleFieldAssign//sourceId:595950_1_34978
            commitTaskReportProgressAndTargetDataComReqDto.setBudgetDisburse(reqDto.getBudgetDisburse());//SimpleFieldAssign//sourceId:1561589_1_34978
            commitTaskReportProgressAndTargetDataComReqDto.setContnetAccountSubjectld(reqDto.getContnetAccountSubjectld());//SimpleFieldAssign//sourceId:1242896_1_34978
            commitTaskReportProgressAndTargetDataComReqDto.setTaskId(reqDto.getTaskId());//SimpleFieldAssign//sourceId:595955_1_34978
            commitTaskReportProgressAndTargetDataComReqDto.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:595954_1_34978
            commitTaskReportProgressAndTargetDataComReqDto.setPeriodId(reqDto.getPeriodId());//SimpleFieldAssign//sourceId:595956_1_34978
            commitTaskReportProgressAndTargetDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:595953_1_34978
            commitTaskReportProgressAndTargetDataComReqDto.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:1580970_1_34978
            commitTaskReportProgressAndTargetDataComReqDto.setTargetCycleContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:595962_1_34978
            commitTaskReportProgressAndTargetDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:595963_1_34978
        }

        /*D3-提交我汇报的任务标准数据(公共)[5633]   */
        Assert.isNull(commitTaskReportProgressAndTargetDataComReqDto.getTaskId(), "B3-提交我汇报的任务标准数据-D3-提交我汇报的任务标准数据(公共)-任务ID不能为空", false);
        Assert.isNull(commitTaskReportProgressAndTargetDataComReqDto.getCycleStageDataId(), "B3-提交我汇报的任务标准数据-D3-提交我汇报的任务标准数据(公共)-周期阶段资料记录ID不能为空", false);
        Assert.isNull(commitTaskReportProgressAndTargetDataComReqDto.getPeriodId(), "B3-提交我汇报的任务标准数据-D3-提交我汇报的任务标准数据(公共)-周期ID不能为空", false);
        Assert.isNull(commitTaskReportProgressAndTargetDataComReqDto.getEvaObjTargetCycleId(), "B3-提交我汇报的任务标准数据-D3-提交我汇报的任务标准数据(公共)-被评对象目标周期ID不能为空", false);
        Assert.isNull(commitTaskReportProgressAndTargetDataComReqDto.getTargetCycleContentTypeCode(), "B3-提交我汇报的任务标准数据-D3-提交我汇报的任务标准数据(公共)-关联目标内容类型编码不能为空", false);
        Assert.isNull(commitTaskReportProgressAndTargetDataComReqDto.getTargetCycleContentId(), "B3-提交我汇报的任务标准数据-D3-提交我汇报的任务标准数据(公共)-关联目标内容ID不能为空", false);
        Assert.isNull(commitTaskReportProgressAndTargetDataComReqDto.getEvaluationTemplateId(), "B3-提交我汇报的任务标准数据-D3-提交我汇报的任务标准数据(公共)-冗余评价模板ID不能为空", false);
        commitTaskReportProgressAndTargetDataComRespDto = fwAppTaskClient.commitTaskReportProgressAndTargetDataCom(commitTaskReportProgressAndTargetDataComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffCommitTaskReportProgressAndTargetDataRespDto retData = new BffCommitTaskReportProgressAndTargetDataRespDto();


        return retData;
    }

    /**
     * B3-查询单条汇报任务评价信息详情[2780]
     * gen by moon at 4/27/2024, 7:10:12 PM
     */
    @Trace(operationName = "B3-查询单条汇报任务评价信息详情")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQuerySingleTaskReportEvaInfoDetailRespDto querySingleTaskReportEvaInfoDetail(BffQuerySingleTaskReportEvaInfoDetailReqDto reqDto) {


        QueryVirtualOrgMemberDetailRespDto queryVirtualOrgMemberDetailRespDto_1 = null;
        QueryStandardDataDetailComRespDto queryStandardDataDetailComRespDto_1 = null;
        QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto_1 = null;
        if ((reqDto != null && reqDto.getPeriodId() != null && reqDto != null && reqDto.getEntityId() != null)) {
            //if((B3-查询单条汇报任务评价信息详情.周期ID 值不等于空  and B3-查询单条汇报任务评价信息详情.被评对象目标周期ID 值不等于空 ))  25328

            QueryEvaObjTargetCycleDetailBorderRespDto queryEvaObjTargetCycleDetailBorderRespDto = null;
            QueryEvaObjTargetCycleDetailBorderReqDto queryEvaObjTargetCycleDetailBorderReqDto = new QueryEvaObjTargetCycleDetailBorderReqDto();
            if (reqDto != null) {
                queryEvaObjTargetCycleDetailBorderReqDto.setEvaObjTargetCycleId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1482550_1_59452
            }

            /*D3准备入参1：查目标周期详情（获取目标内容 ID 用于查询小圈子评价主角色的就职记录）[3159]   */
            Assert.isNull(queryEvaObjTargetCycleDetailBorderReqDto.getEvaObjTargetCycleId(), "B3-查询单条汇报任务评价信息详情-D3准备入参1：查目标周期详情（获取目标内容 ID 用于查询小圈子评价主角色的就职记录）-被评对象目标周期ID不能为空", false);
            queryEvaObjTargetCycleDetailBorderRespDto = fwAppTargetCycleClient.queryEvaObjTargetCycleDetailBorder(queryEvaObjTargetCycleDetailBorderReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto = null;
            if (queryEvaObjTargetCycleDetailBorderRespDto != null) {
                QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto = new QueryConfItemMatchAnswerDetailComReqDto();
                queryConfItemMatchAnswerDetailComReqDto.setConfItemCode("CYCLE_MODE");//CUSTOM_CONVENTION//sourceId:1758785_1_67614
                queryConfItemMatchAnswerDetailComReqDto.setIsPlatData("FALSE");//sourceId:1758786_1_67614
                if (queryEvaObjTargetCycleDetailBorderRespDto != null) {
                    queryConfItemMatchAnswerDetailComReqDto.setResultAspObjId(queryEvaObjTargetCycleDetailBorderRespDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1758784_1_67614
                }

                /*D2入参准备2：查评价模板周期模式配置答案（公共）[2486]   */
                Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getResultAspObjId(), "B3-查询单条汇报任务评价信息详情-D2入参准备2：查评价模板周期模式配置答案（公共）-开通对象ID不能为空", false);
                Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getConfItemCode(), "B3-查询单条汇报任务评价信息详情-D2入参准备2：查评价模板周期模式配置答案（公共）-配置项标识不能为空", false);
                Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getIsPlatData(), "B3-查询单条汇报任务评价信息详情-D2入参准备2：查评价模板周期模式配置答案（公共）-是否标准答案不能为空", false);
                queryConfItemMatchAnswerDetailComRespDto = fwCompConfSchemeClient.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            }
            AnalysisParentSubMidCycleTypeTakeDownComRespDto analysisParentSubMidCycleTypeTakeDownComRespDto = null;
            if (queryConfItemMatchAnswerDetailComRespDto != null && queryEvaObjTargetCycleDetailBorderRespDto != null) {
                AnalysisParentSubMidCycleTypeTakeDownComReqDto analysisParentSubMidCycleTypeTakeDownComReqDto = new AnalysisParentSubMidCycleTypeTakeDownComReqDto();
                if (queryConfItemMatchAnswerDetailComRespDto != null) {
                    analysisParentSubMidCycleTypeTakeDownComReqDto.setPeriodicModeTypeCode(queryConfItemMatchAnswerDetailComRespDto.getEndValue());//SimpleFieldAssign//sourceId:1758755_1_67615
                }
                if (reqDto != null) {
                    analysisParentSubMidCycleTypeTakeDownComReqDto.setEvaObjTargetCycleId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1758756_1_67615
                    analysisParentSubMidCycleTypeTakeDownComReqDto.setCycleTypeCode(reqDto.getCycleTypeCode());//SimpleFieldAssign//sourceId:1758757_1_67615
                }
                if (queryEvaObjTargetCycleDetailBorderRespDto != null) {
                    analysisParentSubMidCycleTypeTakeDownComReqDto.setEvaluationTemplateId(queryEvaObjTargetCycleDetailBorderRespDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1758758_1_67615
                }

                /*D3准备入参3：分析父子中周期类型取小(公共)[9453]   */
                Assert.isNull(analysisParentSubMidCycleTypeTakeDownComReqDto.getPeriodicModeTypeCode(), "B3-查询单条汇报任务评价信息详情-D3准备入参3：分析父子中周期类型取小(公共)-周期模式类型编码不能为空", false);
                Assert.isNull(analysisParentSubMidCycleTypeTakeDownComReqDto.getEvaObjTargetCycleId(), "B3-查询单条汇报任务评价信息详情-D3准备入参3：分析父子中周期类型取小(公共)-被评对象目标周期ID不能为空", false);
                Assert.isNull(analysisParentSubMidCycleTypeTakeDownComReqDto.getCycleTypeCode(), "B3-查询单条汇报任务评价信息详情-D3准备入参3：分析父子中周期类型取小(公共)-周期类型标识不能为空", false);
                Assert.isNull(analysisParentSubMidCycleTypeTakeDownComReqDto.getEvaluationTemplateId(), "B3-查询单条汇报任务评价信息详情-D3准备入参3：分析父子中周期类型取小(公共)-冗余评价模板ID不能为空", false);
                analysisParentSubMidCycleTypeTakeDownComRespDto = fwAppTargetCalcClient.analysisParentSubMidCycleTypeTakeDownCom(analysisParentSubMidCycleTypeTakeDownComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            }
            QueryVirtualOrgMemberDetailRespDto queryVirtualOrgMemberDetailRespDto = null;
            if (queryEvaObjTargetCycleDetailBorderRespDto != null) {
                QueryVirtualOrgMemberDetailReqDto queryVirtualOrgMemberDetailReqDto = new QueryVirtualOrgMemberDetailReqDto();
                queryVirtualOrgMemberDetailReqDto.setOriginalRoleMemberId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:1482582_1_59453
                queryVirtualOrgMemberDetailReqDto.setBusinessOperationTypeCode("EVA_REPORT_TAST");//sourceId:1482583_1_59453
                if (queryEvaObjTargetCycleDetailBorderRespDto != null) {
                    queryVirtualOrgMemberDetailReqDto.setEntityId(queryEvaObjTargetCycleDetailBorderRespDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1482584_1_59453
                }

                /*D3-6查虚拟组织成员详情[2632]   */
                Assert.isNull(queryVirtualOrgMemberDetailReqDto.getOriginalRoleMemberId(), "B3-查询单条汇报任务评价信息详情-D3-6查虚拟组织成员详情-身份人员ID不能为空", false);
                Assert.isNull(queryVirtualOrgMemberDetailReqDto.getBusinessOperationTypeCode(), "B3-查询单条汇报任务评价信息详情-D3-6查虚拟组织成员详情-业务操作类型编码不能为空", false);
                Assert.isNull(queryVirtualOrgMemberDetailReqDto.getEntityId(), "B3-查询单条汇报任务评价信息详情-D3-6查虚拟组织成员详情-冗余内容表主键ID不能为空", false);
                queryVirtualOrgMemberDetailRespDto = fwAppVirtualOrgClient.queryVirtualOrgMemberDetail(queryVirtualOrgMemberDetailReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


                queryVirtualOrgMemberDetailRespDto_1 = queryVirtualOrgMemberDetailRespDto;
            }
            QueryStandardDataDetailComRespDto queryStandardDataDetailComRespDto = null;
            if (analysisParentSubMidCycleTypeTakeDownComRespDto != null && queryVirtualOrgMemberDetailRespDto != null && queryVirtualOrgMemberDetailRespDto != null && queryVirtualOrgMemberDetailRespDto.getVirtualOrgMemberId() != null) {
                QueryStandardDataDetailComReqDto queryStandardDataDetailComReqDto = new QueryStandardDataDetailComReqDto();
                queryStandardDataDetailComReqDto.setIsNewData("TRUE");//sourceId:129328_1_25329
                queryStandardDataDetailComReqDto.setResultType("MANUAL_INPUT");//sourceId:88754_1_25329
                queryStandardDataDetailComReqDto.setDataType("SUBJECTIVE_MARK");//sourceId:88755_1_25329
                queryStandardDataDetailComReqDto.setDataUsageSceneCode("TARGET_PLAN_CALC_DATA_STATISTICS");//sourceId:1077339_1_25329
                queryStandardDataDetailComReqDto.setIsArchive("FALSE");//sourceId:129327_1_25329
                if (reqDto != null) {
                    queryStandardDataDetailComReqDto.setPeriodId(reqDto.getPeriodId());//SimpleFieldAssign//sourceId:165770_1_25329
                    queryStandardDataDetailComReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:88753_1_25329
                }
                if (analysisParentSubMidCycleTypeTakeDownComRespDto != null) {
                    queryStandardDataDetailComReqDto.setParentSubMidCycleType(analysisParentSubMidCycleTypeTakeDownComRespDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1756951_1_25329
                }
                if (queryVirtualOrgMemberDetailRespDto != null) {
                    queryStandardDataDetailComReqDto.setPersonLiableObjId(queryVirtualOrgMemberDetailRespDto.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:1481049_1_25329
                }

                /*D4-1查标准数据详情(公共)[2695]   */
                Assert.isNull(queryStandardDataDetailComReqDto.getPeriodId(), "B3-查询单条汇报任务评价信息详情-D4-1查标准数据详情(公共)-周期ID不能为空", false);
                Assert.isNull(queryStandardDataDetailComReqDto.getEntityId(), "B3-查询单条汇报任务评价信息详情-D4-1查标准数据详情(公共)-归属内容表主键ID不能为空", false);
                Assert.isNull(queryStandardDataDetailComReqDto.getParentSubMidCycleType(), "B3-查询单条汇报任务评价信息详情-D4-1查标准数据详情(公共)-父子中周期类型不能为空", false);
                Assert.isNull(queryStandardDataDetailComReqDto.getIsNewData(), "B3-查询单条汇报任务评价信息详情-D4-1查标准数据详情(公共)-是否归属周期最新数据不能为空", false);
                Assert.isNull(queryStandardDataDetailComReqDto.getResultType(), "B3-查询单条汇报任务评价信息详情-D4-1查标准数据详情(公共)-结果产生类型不能为空", false);
                Assert.isNull(queryStandardDataDetailComReqDto.getDataType(), "B3-查询单条汇报任务评价信息详情-D4-1查标准数据详情(公共)-数据点类型不能为空", false);
                Assert.isNull(queryStandardDataDetailComReqDto.getDataUsageSceneCode(), "B3-查询单条汇报任务评价信息详情-D4-1查标准数据详情(公共)-数据业务场景不能为空", false);
                Assert.isNull(queryStandardDataDetailComReqDto.getPersonLiableObjId(), "B3-查询单条汇报任务评价信息详情-D4-1查标准数据详情(公共)-填报评价责任人对象ID不能为空", false);
                Assert.isNull(queryStandardDataDetailComReqDto.getIsArchive(), "B3-查询单条汇报任务评价信息详情-D4-1查标准数据详情(公共)-是否存档不能为空", false);
                queryStandardDataDetailComRespDto = fwCalcStandardDataClient.queryStandardDataDetailCom(queryStandardDataDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


                queryStandardDataDetailComRespDto_1 = queryStandardDataDetailComRespDto;
            }
            QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto = null;
            QueryInductionRecordInfoDetailComReqDto queryInductionRecordInfoDetailComReqDto = new QueryInductionRecordInfoDetailComReqDto();
            queryInductionRecordInfoDetailComReqDto.setInductionRecordId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:88766_1_25330

            /*D1-3查询个人就职记录信息详情（公共）[715]   */
            Assert.isNull(queryInductionRecordInfoDetailComReqDto.getInductionRecordId(), "B3-查询单条汇报任务评价信息详情-D1-3查询个人就职记录信息详情（公共）-就职记录ID不能为空", false);
            queryInductionRecordInfoDetailComRespDto = fwBaseInductionRecordClient.queryInductionRecordInfoDetailCom(queryInductionRecordInfoDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            queryInductionRecordInfoDetailComRespDto_1 = queryInductionRecordInfoDetailComRespDto;
        }
        BffQuerySingleTaskReportEvaInfoDetailRespDto retData = new BffQuerySingleTaskReportEvaInfoDetailRespDto();
        if (queryStandardDataDetailComRespDto_1 != null) {
            retData.setDataResultId(queryStandardDataDetailComRespDto_1.getDataResultId());//SimpleFieldAssign//sourceId:1470863_1
            retData.setDataResult(queryStandardDataDetailComRespDto_1.getDataResult());//SimpleFieldAssign//sourceId:1470864_1
            retData.setParentDataResult(queryStandardDataDetailComRespDto_1.getParentDataResult());//SimpleFieldAssign//sourceId:1470865_1
            retData.setUnit(queryStandardDataDetailComRespDto_1.getUnit());//SimpleFieldAssign//sourceId:1470867_1
            retData.setBelongToPersonalIdentityId(queryStandardDataDetailComRespDto_1.getBelongToPersonalIdentityId());//SimpleFieldAssign//sourceId:1470882_1
            retData.setBelongToPersonalIdentityTypeCode(queryStandardDataDetailComRespDto_1.getBelongToPersonalIdentityTypeCode());//SimpleFieldAssign//sourceId:1470883_1
            retData.setPersonLiableObjId(queryStandardDataDetailComRespDto_1.getPersonLiableObjId());//SimpleFieldAssign//sourceId:1470870_1
            retData.setBizRoleObjCode(queryStandardDataDetailComRespDto_1.getBizRoleObjCode());//SimpleFieldAssign//sourceId:1470871_1
            retData.setOperateTime(queryStandardDataDetailComRespDto_1.getOperateTime());//SimpleFieldAssign//sourceId:1470873_1
        }
        if (queryInductionRecordInfoDetailComRespDto_1 != null) {
            retData.setUserId(queryInductionRecordInfoDetailComRespDto_1.getUserId());//SimpleFieldAssign//sourceId:1470866_1
            retData.setIdCardName(queryInductionRecordInfoDetailComRespDto_1.getIdCardName());//SimpleFieldAssign//sourceId:1470868_1
            retData.setNickName(queryInductionRecordInfoDetailComRespDto_1.getNickName());//SimpleFieldAssign//sourceId:1470869_1
            retData.setUserFace(queryInductionRecordInfoDetailComRespDto_1.getUserFace());//SimpleFieldAssign//sourceId:1470872_1
        }
        if (queryVirtualOrgMemberDetailRespDto_1 != null) {
            retData.setVirtualOrgInductionRecordId(queryVirtualOrgMemberDetailRespDto_1.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:1556560_1
            retData.setBusinessOperationTypeCode(queryVirtualOrgMemberDetailRespDto_1.getBusinessOperationTypeCode());//SimpleFieldAssign//sourceId:1556565_1
        }


        return retData;
    }

    /**
     * B3-提交单条汇报任务评价信息[3051]
     * gen by moon at 3/13/2024, 5:35:48 AM
     */
    @Trace(operationName = "B3-提交单条汇报任务评价信息")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffCommitSingleTaskReportEvaInfoRespDto commitSingleTaskReportEvaInfo(BffCommitSingleTaskReportEvaInfoReqDto reqDto) {


        CommitSingleTaskReportEvaInfoComRespDto commitSingleTaskReportEvaInfoComRespDto_1 = null;
//步骤0: D3-操作汇报任务权限校验(公共) - tempStorageTaskReportPermissionVerificationCom
        TempStorageTaskReportPermissionVerificationComRespDto tempStorageTaskReportPermissionVerificationComRespDto = null;
        TempStorageTaskReportPermissionVerificationComReqDto tempStorageTaskReportPermissionVerificationComReqDto = new TempStorageTaskReportPermissionVerificationComReqDto();
        if (reqDto != null) {
            tempStorageTaskReportPermissionVerificationComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1470932_1
        }

        /*D3-操作汇报任务权限校验（异常报错）[6302]   */
        Assert.isNull(tempStorageTaskReportPermissionVerificationComReqDto.getEvaluationTemplateId(), "B3-提交单条汇报任务评价信息-D3-操作汇报任务权限校验（异常报错）-冗余评价模板ID不能为空", false);
        tempStorageTaskReportPermissionVerificationComRespDto = fwAppTaskClient.tempStorageTaskReportPermissionVerificationCom(tempStorageTaskReportPermissionVerificationComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//步骤1: D3-提交单条汇报任务评价信息(公共) - commitSingleTaskReportEvaInfoCom
        CommitSingleTaskReportEvaInfoComRespDto commitSingleTaskReportEvaInfoComRespDto = null;
        CommitSingleTaskReportEvaInfoComReqDto commitSingleTaskReportEvaInfoComReqDto = new CommitSingleTaskReportEvaInfoComReqDto();
        if (reqDto != null) {
            commitSingleTaskReportEvaInfoComReqDto.setSubjectiveMark(reqDto.getSubjectiveMark());//SimpleFieldAssign//sourceId:520777_1
            commitSingleTaskReportEvaInfoComReqDto.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:520780_1
            commitSingleTaskReportEvaInfoComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:520779_1
            commitSingleTaskReportEvaInfoComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:520784_1
            commitSingleTaskReportEvaInfoComReqDto.setTaskId(reqDto.getTaskId());//SimpleFieldAssign//sourceId:533515_1
            commitSingleTaskReportEvaInfoComReqDto.setTargetCycleContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:520781_1
            commitSingleTaskReportEvaInfoComReqDto.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:520782_1
            commitSingleTaskReportEvaInfoComReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:1581119_1
            commitSingleTaskReportEvaInfoComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:520783_1
        }

        /*D3-提交单条汇报任务评价信息(公共)[5475]   */
        Assert.isNull(commitSingleTaskReportEvaInfoComReqDto.getSubjectiveMark(), "B3-提交单条汇报任务评价信息-D3-提交单条汇报任务评价信息(公共)-主观评分不能为空", false);
        Assert.isNull(commitSingleTaskReportEvaInfoComReqDto.getCycleStageDataId(), "B3-提交单条汇报任务评价信息-D3-提交单条汇报任务评价信息(公共)-周期阶段资料记录ID不能为空", false);
        Assert.isNull(commitSingleTaskReportEvaInfoComReqDto.getEvaObjTargetCycleId(), "B3-提交单条汇报任务评价信息-D3-提交单条汇报任务评价信息(公共)-被评对象目标周期ID不能为空", false);
        Assert.isNull(commitSingleTaskReportEvaInfoComReqDto.getCycleId(), "B3-提交单条汇报任务评价信息-D3-提交单条汇报任务评价信息(公共)-周期ID不能为空", false);
        Assert.isNull(commitSingleTaskReportEvaInfoComReqDto.getTaskId(), "B3-提交单条汇报任务评价信息-D3-提交单条汇报任务评价信息(公共)-任务ID不能为空", false);
        Assert.isNull(commitSingleTaskReportEvaInfoComReqDto.getTargetCycleContentId(), "B3-提交单条汇报任务评价信息-D3-提交单条汇报任务评价信息(公共)-关联目标内容ID不能为空", false);
        Assert.isNull(commitSingleTaskReportEvaInfoComReqDto.getTargetCycleContentTypeCode(), "B3-提交单条汇报任务评价信息-D3-提交单条汇报任务评价信息(公共)-关联目标内容类型编码不能为空", false);
        Assert.isNull(commitSingleTaskReportEvaInfoComReqDto.getTargetId(), "B3-提交单条汇报任务评价信息-D3-提交单条汇报任务评价信息(公共)-冗余目标ID不能为空", false);
        Assert.isNull(commitSingleTaskReportEvaInfoComReqDto.getEvaluationTemplateId(), "B3-提交单条汇报任务评价信息-D3-提交单条汇报任务评价信息(公共)-冗余评价模板ID不能为空", false);
        commitSingleTaskReportEvaInfoComRespDto = fwAppTaskClient.commitSingleTaskReportEvaInfoCom(commitSingleTaskReportEvaInfoComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        commitSingleTaskReportEvaInfoComRespDto_1 = commitSingleTaskReportEvaInfoComRespDto;

        BffCommitSingleTaskReportEvaInfoRespDto retData = new BffCommitSingleTaskReportEvaInfoRespDto();
        if (commitSingleTaskReportEvaInfoComRespDto_1 != null) {
            retData.setCalcResult(commitSingleTaskReportEvaInfoComRespDto_1.getCalcResult());//SimpleFieldAssign//sourceId:1481081_1
        }


        return retData;
    }

    /**
     * B3-执行汇报任务撤销发布操作元素分析[5504]
     * gen by moon at 10/1/2023, 12:52:52 AM
     */
    @Trace(operationName = "B3-执行汇报任务撤销发布操作元素分析")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffImplementJudgeTaskReportEvaAndCheckRespDto implementJudgeTaskReportEvaAndCheck(BffImplementJudgeTaskReportEvaAndCheckReqDto reqDto) {


        ImplementJudgeTaskReportRelAndCheckComRespDto implementJudgeTaskReportRelAndCheckComRespDto_1 = null;
//步骤0: D3-任务取消汇报元素判断(公共) - implementJudgeTaskReportRelAndCheckCom
        ImplementJudgeTaskReportRelAndCheckComRespDto implementJudgeTaskReportRelAndCheckComRespDto = null;
        ImplementJudgeTaskReportRelAndCheckComReqDto implementJudgeTaskReportRelAndCheckComReqDto = new ImplementJudgeTaskReportRelAndCheckComReqDto();
        if (reqDto != null) {
            implementJudgeTaskReportRelAndCheckComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:539837_1
            implementJudgeTaskReportRelAndCheckComReqDto.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:539838_1
            implementJudgeTaskReportRelAndCheckComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:539839_1
            implementJudgeTaskReportRelAndCheckComReqDto.setTaskId(reqDto.getTaskId());//SimpleFieldAssign//sourceId:788115_1
            implementJudgeTaskReportRelAndCheckComReqDto.setTargetCycleContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:539841_1
            implementJudgeTaskReportRelAndCheckComReqDto.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:539842_1
            implementJudgeTaskReportRelAndCheckComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:539843_1
        }

        /*D3-任务取消发布元素判断[5505]   */
        Assert.isNull(implementJudgeTaskReportRelAndCheckComReqDto.getEvaObjTargetCycleId(), "B3-执行汇报任务撤销发布操作元素分析-D3-任务取消发布元素判断-被评对象目标周期ID不能为空", false);
        Assert.isNull(implementJudgeTaskReportRelAndCheckComReqDto.getCycleStageDataId(), "B3-执行汇报任务撤销发布操作元素分析-D3-任务取消发布元素判断-周期阶段资料记录ID不能为空", false);
        Assert.isNull(implementJudgeTaskReportRelAndCheckComReqDto.getCycleId(), "B3-执行汇报任务撤销发布操作元素分析-D3-任务取消发布元素判断-周期ID不能为空", false);
        Assert.isNull(implementJudgeTaskReportRelAndCheckComReqDto.getTaskId(), "B3-执行汇报任务撤销发布操作元素分析-D3-任务取消发布元素判断-任务ID不能为空", false);
        Assert.isNull(implementJudgeTaskReportRelAndCheckComReqDto.getTargetCycleContentId(), "B3-执行汇报任务撤销发布操作元素分析-D3-任务取消发布元素判断-关联目标内容ID不能为空", false);
        Assert.isNull(implementJudgeTaskReportRelAndCheckComReqDto.getTargetCycleContentTypeCode(), "B3-执行汇报任务撤销发布操作元素分析-D3-任务取消发布元素判断-关联目标内容类型编码不能为空", false);
        Assert.isNull(implementJudgeTaskReportRelAndCheckComReqDto.getEvaluationTemplateId(), "B3-执行汇报任务撤销发布操作元素分析-D3-任务取消发布元素判断-冗余评价模板ID不能为空", false);
        implementJudgeTaskReportRelAndCheckComRespDto = fwAppTaskClient.implementJudgeTaskReportRelAndCheckCom(implementJudgeTaskReportRelAndCheckComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        implementJudgeTaskReportRelAndCheckComRespDto_1 = implementJudgeTaskReportRelAndCheckComRespDto;

        BffImplementJudgeTaskReportEvaAndCheckRespDto retData = new BffImplementJudgeTaskReportEvaAndCheckRespDto();
        if (implementJudgeTaskReportRelAndCheckComRespDto_1 != null) {
            retData.setCancleTaskReport(implementJudgeTaskReportRelAndCheckComRespDto_1.getCancleTaskReport());//SimpleFieldAssign//sourceId:540093_1
        }


        return retData;
    }

    /**
     * B3-查询下级汇报任务列表[6185]
     * gen by moon at 11/11/2024, 6:35:04 PM
     */
    @Trace(operationName = "B3-查询下级汇报任务列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQuerySubReportingTaskListRespDto querySubReportingTaskList(BffQuerySubReportingTaskListReqDto reqDto) {


        QuerySubReportingTaskListComRespDto querySubReportingTaskListComRespDto_1 = null;
        QueryTaskPrincipalAndDeptListComRespDto queryTaskPrincipalAndDeptListComRespDto_1 = null;
//步骤0: D3-查询下级汇报任务列表(公共) - querySubReportingTaskListCom
        QuerySubReportingTaskListComRespDto querySubReportingTaskListComRespDto = null;
        QuerySubReportingTaskListComReqDto querySubReportingTaskListComReqDto = new QuerySubReportingTaskListComReqDto();
        if (reqDto != null) {
            querySubReportingTaskListComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:800946_1
            querySubReportingTaskListComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:809082_1
            querySubReportingTaskListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:800948_1
        }

        /*D3-查询下级汇报任务列表(公共)[6186]   */
        Assert.isNull(querySubReportingTaskListComReqDto.getEvaObjTargetCycleId(), "B3-查询下级汇报任务列表-D3-查询下级汇报任务列表(公共)-被评对象目标周期ID不能为空", false);
        Assert.isNull(querySubReportingTaskListComReqDto.getCycleId(), "B3-查询下级汇报任务列表-D3-查询下级汇报任务列表(公共)-周期ID不能为空", false);
        Assert.isNull(querySubReportingTaskListComReqDto.getEvaluationTemplateId(), "B3-查询下级汇报任务列表-D3-查询下级汇报任务列表(公共)-冗余评价模板ID不能为空", false);
        querySubReportingTaskListComRespDto = fwAppTaskClient.querySubReportingTaskListCom(querySubReportingTaskListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        querySubReportingTaskListComRespDto_1 = querySubReportingTaskListComRespDto;

//步骤1: D3-查询汇报任务负责人及所属部门列表列表(公共) - queryTaskPrincipalAndDeptListCom
        QueryTaskPrincipalAndDeptListComRespDto queryTaskPrincipalAndDeptListComRespDto = null;
        if (querySubReportingTaskListComRespDto != null) {
            QueryTaskPrincipalAndDeptListComReqDto queryTaskPrincipalAndDeptListComReqDto = new QueryTaskPrincipalAndDeptListComReqDto();
            if (querySubReportingTaskListComRespDto != null && querySubReportingTaskListComRespDto.getSubReportingTaskList() != null && !CollectionUtil.isEmpty(querySubReportingTaskListComRespDto.getSubReportingTaskList())) {
                queryTaskPrincipalAndDeptListComReqDto.setReportingTaskList(querySubReportingTaskListComRespDto.getSubReportingTaskList().stream().map(item -> String.valueOf(item.getEvaObjTargetCycleId()))
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:805091_1
            }
            if (reqDto != null) {
                queryTaskPrincipalAndDeptListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:805092_1
            }

            /*D3-查询汇报任务负责人及所属部门列表列表(公共)[6196]   */
            Assert.isNull(queryTaskPrincipalAndDeptListComReqDto.getEvaluationTemplateId(), "B3-查询下级汇报任务列表-D3-查询汇报任务负责人及所属部门列表列表(公共)-冗余评价模板ID不能为空", false);
            queryTaskPrincipalAndDeptListComRespDto = fwAppTaskClient.queryTaskPrincipalAndDeptListCom(queryTaskPrincipalAndDeptListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            queryTaskPrincipalAndDeptListComRespDto_1 = queryTaskPrincipalAndDeptListComRespDto;
        }

        BffQuerySubReportingTaskListRespDto retData = new BffQuerySubReportingTaskListRespDto();
        //数据集融合  MoreListToOneSource
        if (querySubReportingTaskListComRespDto_1 != null && !CollectionUtil.isEmpty(querySubReportingTaskListComRespDto_1.getSubReportingTaskList())) {
            for (SubReportingTaskDto subReportingTaskDto : querySubReportingTaskListComRespDto_1.getSubReportingTaskList()) {
                BffSubReportingTaskDto retElm = new BffSubReportingTaskDto();
                if (querySubReportingTaskListComRespDto_1 != null) {
                    retElm.setCycleStageDataId(subReportingTaskDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:246976_2
                    retElm.setTargetCycleContentId(subReportingTaskDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:246977_2
                    retElm.setTargetCycleContentTypeCode(subReportingTaskDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:248809_2
                    retElm.setStageContentType(subReportingTaskDto.getStageContentType());//SimpleFieldAssign//sourceId:246978_2
                    retElm.setHypertextContent(subReportingTaskDto.getHypertextContent());//SimpleFieldAssign//sourceId:248720_2
                    retElm.setIsDoneFilleout(subReportingTaskDto.getIsDoneFilleout());//SimpleFieldAssign//sourceId:246980_2
                    retElm.setIsDoneEvaluate(subReportingTaskDto.getIsDoneEvaluate());//SimpleFieldAssign//sourceId:246981_2
                    retElm.setTaskId(subReportingTaskDto.getTaskId());//SimpleFieldAssign//sourceId:242993_2
                    retElm.setTaskName(subReportingTaskDto.getTaskName());//SimpleFieldAssign//sourceId:242994_2
                    retElm.setTaskStatus(subReportingTaskDto.getTaskStatus());//SimpleFieldAssign//sourceId:242998_2
                    retElm.setIsComplete(subReportingTaskDto.getIsComplete());//SimpleFieldAssign//sourceId:242999_2
                    retElm.setCompleteStatus(subReportingTaskDto.getCompleteStatus());//SimpleFieldAssign//sourceId:243000_2
                    retElm.setIsReplenishReport(subReportingTaskDto.getIsReplenishReport());//SimpleFieldAssign//sourceId:243005_2
                    retElm.setIsOverdue(subReportingTaskDto.getIsOverdue());//SimpleFieldAssign//sourceId:243001_2
                    retElm.setStateCode(subReportingTaskDto.getStateCode());//SimpleFieldAssign//sourceId:292198_2
                    retElm.setIsAutoReport(subReportingTaskDto.getIsAutoReport());//SimpleFieldAssign//sourceId:243003_2
                    retElm.setPlanEndTime(subReportingTaskDto.getPlanEndTime());//SimpleFieldAssign//sourceId:248366_2
                    retElm.setActualEndTime(subReportingTaskDto.getActualEndTime());//SimpleFieldAssign//sourceId:246982_2
                    retElm.setDeflectionTime(subReportingTaskDto.getDeflectionTime());//SimpleFieldAssign//sourceId:248367_2
                    retElm.setDeflectionInfo(subReportingTaskDto.getDeflectionInfo());//SimpleFieldAssign//sourceId:248368_2
                    retElm.setSubjectLifeCycle(subReportingTaskDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:248369_2
                    retElm.setEvaObjTargetCycleId(subReportingTaskDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:246983_2
                    retElm.setTargetCycleStandardName(subReportingTaskDto.getTargetCycleStandardName());//SimpleFieldAssign//sourceId:246984_2
                    retElm.setShowTargetValue(subReportingTaskDto.getShowTargetValue());//SimpleFieldAssign//sourceId:246985_2
                    retElm.setUnit(subReportingTaskDto.getUnit());//SimpleFieldAssign//sourceId:246986_2
                    retElm.setCycleId(subReportingTaskDto.getCycleId());//SimpleFieldAssign//sourceId:246987_2
                    retElm.setExecuteCycleStandardName(subReportingTaskDto.getExecuteCycleStandardName());//SimpleFieldAssign//sourceId:248825_2
                    retElm.setVirtualOrganizationPosition(subReportingTaskDto.getVirtualOrganizationPosition());//SimpleFieldAssign//sourceId:247150_2
                    retElm.setActualValue(subReportingTaskDto.getActualValue());//SimpleFieldAssign//sourceId:247221_2
                    retElm.setActualValueUnit(subReportingTaskDto.getActualValueUnit());//SimpleFieldAssign//sourceId:247222_2
                    retElm.setChangeFromLastTarget(subReportingTaskDto.getChangeFromLastTarget());//SimpleFieldAssign//sourceId:247223_2
                    retElm.setChangeFromLastTargetUnit(subReportingTaskDto.getChangeFromLastTargetUnit());//SimpleFieldAssign//sourceId:247224_2
                    retElm.setFromLastTargetLiftRatio(subReportingTaskDto.getFromLastTargetLiftRatio());//SimpleFieldAssign//sourceId:247225_2
                    retElm.setFromLastTargetLiftRatioUnit(subReportingTaskDto.getFromLastTargetLiftRatioUnit());//SimpleFieldAssign//sourceId:247226_2
                    retElm.setProgressValue(subReportingTaskDto.getProgressValue());//SimpleFieldAssign//sourceId:247227_2
                    retElm.setProgressValueUnit(subReportingTaskDto.getProgressValueUnit());//SimpleFieldAssign//sourceId:247228_2
                    retElm.setFromLastProgressValue(subReportingTaskDto.getFromLastProgressValue());//SimpleFieldAssign//sourceId:247229_2
                    retElm.setFromLastProgressValueUnit(subReportingTaskDto.getFromLastProgressValueUnit());//SimpleFieldAssign//sourceId:247230_2
                    retElm.setProgressFromLastRatio(subReportingTaskDto.getProgressFromLastRatio());//SimpleFieldAssign//sourceId:247231_2
                    retElm.setProgressFromLastRatioUnit(subReportingTaskDto.getProgressFromLastRatioUnit());//SimpleFieldAssign//sourceId:247232_2
                    retElm.setReach(subReportingTaskDto.getReach());//SimpleFieldAssign//sourceId:247233_2
                    retElm.setReachUnit(subReportingTaskDto.getReachUnit());//SimpleFieldAssign//sourceId:247234_2
                    retElm.setFromLastReach(subReportingTaskDto.getFromLastReach());//SimpleFieldAssign//sourceId:247235_2
                    retElm.setFromLastReachUnit(subReportingTaskDto.getFromLastReachUnit());//SimpleFieldAssign//sourceId:247236_2
                    retElm.setActualFromLastTimeRatio(subReportingTaskDto.getActualFromLastTimeRatio());//SimpleFieldAssign//sourceId:247237_2
                    retElm.setActualFromLastTimeRatioUnit(subReportingTaskDto.getActualFromLastTimeRatioUnit());//SimpleFieldAssign//sourceId:247238_2
                    retElm.setReportScoreValue(subReportingTaskDto.getReportScoreValue());//SimpleFieldAssign//sourceId:247239_2
                    retElm.setReportScoreUnit(subReportingTaskDto.getReportScoreUnit());//SimpleFieldAssign//sourceId:247240_2
                    retElm.setActualScoreValue(subReportingTaskDto.getActualScoreValue());//SimpleFieldAssign//sourceId:247241_2
                    retElm.setActualScoreUnit(subReportingTaskDto.getActualScoreUnit());//SimpleFieldAssign//sourceId:247242_2
                }
                retData.getSubReportingTaskList().add(retElm);
                if (queryTaskPrincipalAndDeptListComRespDto_1 != null) {
                    for (ReportingTaskDto reportingTaskDto : queryTaskPrincipalAndDeptListComRespDto_1.getReportingTaskList()) {
                        if (reportingTaskDto.getEvaObjTargetCycleId().equals(subReportingTaskDto.getEvaObjTargetCycleId())) {
                            if (queryTaskPrincipalAndDeptListComRespDto_1 != null) {
                                retElm.setDeptId(reportingTaskDto.getDeptId());//SimpleFieldAssign//sourceId:243009_2
                                retElm.setDeptShortName(reportingTaskDto.getDeptShortName());//SimpleFieldAssign//sourceId:243010_2
                                retElm.setVirtualOrgInductionRecordId(reportingTaskDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:427776_2
                                retElm.setOriginalRoleMemberId(reportingTaskDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:427777_2
                                retElm.setVirtualOrganizationPosition(reportingTaskDto.getVirtualOrganizationPosition());//SimpleFieldAssign//sourceId:243012_2
                                retElm.setIdCardName(reportingTaskDto.getIdCardName());//SimpleFieldAssign//sourceId:243013_2
                                retElm.setNickName(reportingTaskDto.getNickName());//SimpleFieldAssign//sourceId:243014_2
                                retElm.setUserFace(reportingTaskDto.getUserFace());//SimpleFieldAssign//sourceId:243015_2
                            }
                        }
                    }
                }

            }
        }//sourceId:1169562_1
        if (querySubReportingTaskListComRespDto_1 != null) {
            retData.setIsOpenSubReportLimit(querySubReportingTaskListComRespDto_1.getIsOpenSubReportLimit());//SimpleFieldAssign//sourceId:805404_1
            retData.setPicSingleSetDataEntryList(querySubReportingTaskListComRespDto_1.getPicSingleSetDataEntryList().stream().map(item -> BeanUtil.toBean(item, BffPicSingleSetDataEntryDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1199478_1
        }


        return retData;
    }

    /**
     * B3-执行补偿生成全网的汇报任务[6588]
     * gen by moon at 6/15/2023, 5:25:56 PM
     */
    @Trace(operationName = "B3-执行补偿生成全网的汇报任务")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffImplementCompGenerationEvaObjectTaskRespDto implementCompGenerationEvaObjectTask(BffImplementCompGenerationEvaObjectTaskReqDto reqDto) {


        //步骤0: D3-执行补偿生成全网的汇报任务(公共) - implementCompGenerationEvaObjectTaskCom
        ImplementCompGenerationEvaObjectTaskComRespDto implementCompGenerationEvaObjectTaskComRespDto = null;
        ImplementCompGenerationEvaObjectTaskComReqDto implementCompGenerationEvaObjectTaskComReqDto = new ImplementCompGenerationEvaObjectTaskComReqDto();
        if (reqDto != null) {
            implementCompGenerationEvaObjectTaskComReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:1041716_1
            implementCompGenerationEvaObjectTaskComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:923595_1
        }

        /*D3-执行补偿生成全网的汇报任务(公共)[6560]   */
        Assert.isNull(implementCompGenerationEvaObjectTaskComReqDto.getTargetId(), "B3-执行补偿生成全网的汇报任务-D3-执行补偿生成全网的汇报任务(公共)-冗余目标ID不能为空", false);
        Assert.isNull(implementCompGenerationEvaObjectTaskComReqDto.getEvaluationTemplateId(), "B3-执行补偿生成全网的汇报任务-D3-执行补偿生成全网的汇报任务(公共)-冗余评价模板ID不能为空", false);
        implementCompGenerationEvaObjectTaskComRespDto = fwAppTaskClient.implementCompGenerationEvaObjectTaskCom(implementCompGenerationEvaObjectTaskComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffImplementCompGenerationEvaObjectTaskRespDto retData = new BffImplementCompGenerationEvaObjectTaskRespDto();


        return retData;
    }

    /**
     * B3-执行继续汇报元素分析[7454]
     * gen by moon at 10/19/2024, 9:29:35 PM
     */
    @Trace(operationName = "B3-执行继续汇报元素分析")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffImplementCanReportElementAnalysisRespDto implementCanReportElementAnalysis(BffImplementCanReportElementAnalysisReqDto reqDto) {


        AnalysisUnReportSencePowerComRespDto analysisUnReportSencePowerComRespDto_1 = null;
//步骤0: D3分析待汇报场景权限(公共) - analysisUnReportSencePowerCom
        AnalysisUnReportSencePowerComRespDto analysisUnReportSencePowerComRespDto = null;
        AnalysisUnReportSencePowerComReqDto analysisUnReportSencePowerComReqDto = new AnalysisUnReportSencePowerComReqDto();
        analysisUnReportSencePowerComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:2021611_1
        if (reqDto != null) {
            analysisUnReportSencePowerComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:2021605_1
            analysisUnReportSencePowerComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:2021606_1
            analysisUnReportSencePowerComReqDto.setCycleStandardName(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:2021612_1
            analysisUnReportSencePowerComReqDto.setCycleTypeCode(reqDto.getCycleTypeCode());//SimpleFieldAssign//sourceId:2021608_1
            analysisUnReportSencePowerComReqDto.setTargetCycleContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:2021609_1
            analysisUnReportSencePowerComReqDto.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:2021610_1
            analysisUnReportSencePowerComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:2021607_1
        }

        /*D3分析待汇报场景权限(公共)[10272]   */
        Assert.isNull(analysisUnReportSencePowerComReqDto.getEvaObjTargetCycleId(), "B3-执行继续汇报元素分析-D3分析待汇报场景权限(公共)-被评对象目标周期ID不能为空", false);
        Assert.isNull(analysisUnReportSencePowerComReqDto.getCycleId(), "B3-执行继续汇报元素分析-D3分析待汇报场景权限(公共)-周期ID不能为空", false);
        Assert.isNull(analysisUnReportSencePowerComReqDto.getCycleStandardName(), "B3-执行继续汇报元素分析-D3分析待汇报场景权限(公共)-周期名称不能为空", false);
        Assert.isNull(analysisUnReportSencePowerComReqDto.getCycleTypeCode(), "B3-执行继续汇报元素分析-D3分析待汇报场景权限(公共)-周期类型标识不能为空", false);
        Assert.isNull(analysisUnReportSencePowerComReqDto.getTargetCycleContentId(), "B3-执行继续汇报元素分析-D3分析待汇报场景权限(公共)-关联目标内容ID不能为空", false);
        Assert.isNull(analysisUnReportSencePowerComReqDto.getTargetCycleContentTypeCode(), "B3-执行继续汇报元素分析-D3分析待汇报场景权限(公共)-关联目标内容类型编码不能为空", false);
        Assert.isNull(analysisUnReportSencePowerComReqDto.getEvaluationTemplateId(), "B3-执行继续汇报元素分析-D3分析待汇报场景权限(公共)-冗余评价模板ID不能为空", false);
        Assert.isNull(analysisUnReportSencePowerComReqDto.getSpaceId(), "B3-执行继续汇报元素分析-D3分析待汇报场景权限(公共)-创建于空间ID不能为空", false);
        analysisUnReportSencePowerComRespDto = fwAppTaskClient.analysisUnReportSencePowerCom(analysisUnReportSencePowerComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        analysisUnReportSencePowerComRespDto_1 = analysisUnReportSencePowerComRespDto;

        BffImplementCanReportElementAnalysisRespDto retData = new BffImplementCanReportElementAnalysisRespDto();
        if (analysisUnReportSencePowerComRespDto_1 != null) {
            retData.setPermissionForReportPower(analysisUnReportSencePowerComRespDto_1.getPermissionForReportPower());//SimpleFieldAssign//sourceId:2021616_1
            retData.setCannotReportTips(analysisUnReportSencePowerComRespDto_1.getCannotReportTips());//SimpleFieldAssign//sourceId:2021617_1
            retData.setEnterReportButton(analysisUnReportSencePowerComRespDto_1.getEnterReportButton());//SimpleFieldAssign//sourceId:2021618_1
            retData.setIsLastCycle(analysisUnReportSencePowerComRespDto_1.getIsLastCycle());//SimpleFieldAssign//sourceId:2021630_1
            retData.setIsLastObjective(analysisUnReportSencePowerComRespDto_1.getIsLastObjective());//SimpleFieldAssign//sourceId:2021631_1
        }


        return retData;
    }

    /**
     * B3-查询待汇报任务标准数据详情[7457]
     * gen by moon at 4/23/2024, 11:24:41 PM
     */
    @Trace(operationName = "B3-查询待汇报任务标准数据详情")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryToBeReportedTaskStandardDataDetailRespDto queryToBeReportedTaskStandardDataDetail(BffQueryToBeReportedTaskStandardDataDetailReqDto reqDto) {


        QueryToBeReportedTaskStandardDataDetailComRespDto queryToBeReportedTaskStandardDataDetailComRespDto_1 = null;
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_1 = null;
        QueryUsableAccountSubjectListComRespDto queryUsableAccountSubjectListComRespDto_1 = null;
//virtualUsage D3-3查询被评对象目标周期详情(边界)  67231
        QueryEvaObjTargetCycleDetailBorderRespDto queryEvaObjTargetCycleDetailBorderRespDto = null;
        QueryEvaObjTargetCycleDetailBorderReqDto queryEvaObjTargetCycleDetailBorderReqDto = new QueryEvaObjTargetCycleDetailBorderReqDto();
        if (reqDto != null) {
            queryEvaObjTargetCycleDetailBorderReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1741039_1_67231
            queryEvaObjTargetCycleDetailBorderReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1741040_1_67231
        }

        /*D3-3查询被评对象目标周期详情(边界)[3159]   */
        Assert.isNull(queryEvaObjTargetCycleDetailBorderReqDto.getEvaObjTargetCycleId(), "B3-查询待汇报任务标准数据详情-D3-3查询被评对象目标周期详情(边界)-被评对象目标周期ID不能为空", false);
        Assert.isNull(queryEvaObjTargetCycleDetailBorderReqDto.getEvaluationTemplateId(), "B3-查询待汇报任务标准数据详情-D3-3查询被评对象目标周期详情(边界)-冗余评价模板ID不能为空", false);
        queryEvaObjTargetCycleDetailBorderRespDto = fwAppTargetCycleClient.queryEvaObjTargetCycleDetailBorder(queryEvaObjTargetCycleDetailBorderReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//virtualUsage D3-查询待汇报任务标准数据详情(公共)  49902
        QueryToBeReportedTaskStandardDataDetailComRespDto queryToBeReportedTaskStandardDataDetailComRespDto = null;
        QueryToBeReportedTaskStandardDataDetailComReqDto queryToBeReportedTaskStandardDataDetailComReqDto = new QueryToBeReportedTaskStandardDataDetailComReqDto();
        if (reqDto != null) {
            queryToBeReportedTaskStandardDataDetailComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1140257_1_49902
            queryToBeReportedTaskStandardDataDetailComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1140258_1_49902
            queryToBeReportedTaskStandardDataDetailComReqDto.setActualValueCalcFormula(reqDto.getActualValueCalcFormula());//SimpleFieldAssign//sourceId:1551612_1_49902
            queryToBeReportedTaskStandardDataDetailComReqDto.setIsLastObjective(reqDto.getIsLastObjective());//SimpleFieldAssign//sourceId:1155001_1_49902
            queryToBeReportedTaskStandardDataDetailComReqDto.setIsLastCycle(reqDto.getIsLastCycle());//SimpleFieldAssign//sourceId:1162866_1_49902
            queryToBeReportedTaskStandardDataDetailComReqDto.setProgressValueElement(reqDto.getProgressValueElement());//SimpleFieldAssign//sourceId:1155003_1_49902
            queryToBeReportedTaskStandardDataDetailComReqDto.setProgressValueInterFaceElement(reqDto.getProgressValueInterFaceElement());//SimpleFieldAssign//sourceId:1170964_1_49902
            queryToBeReportedTaskStandardDataDetailComReqDto.setActualValueElement(reqDto.getActualValueElement());//SimpleFieldAssign//sourceId:1155005_1_49902
            queryToBeReportedTaskStandardDataDetailComReqDto.setActualValueInterFaceElement(reqDto.getActualValueInterFaceElement());//SimpleFieldAssign//sourceId:1170965_1_49902
            queryToBeReportedTaskStandardDataDetailComReqDto.setIsAutoReport(reqDto.getIsAutoReport());//SimpleFieldAssign//sourceId:1155838_1_49902
            queryToBeReportedTaskStandardDataDetailComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1140259_1_49902
        }

        /*D3-查询待汇报任务标准数据详情(公共)[7456]   */
        Assert.isNull(queryToBeReportedTaskStandardDataDetailComReqDto.getEvaObjTargetCycleId(), "B3-查询待汇报任务标准数据详情-D3-查询待汇报任务标准数据详情(公共)-被评对象目标周期ID不能为空", false);
        Assert.isNull(queryToBeReportedTaskStandardDataDetailComReqDto.getCycleId(), "B3-查询待汇报任务标准数据详情-D3-查询待汇报任务标准数据详情(公共)-周期ID不能为空", false);
        Assert.isNull(queryToBeReportedTaskStandardDataDetailComReqDto.getIsLastObjective(), "B3-查询待汇报任务标准数据详情-D3-查询待汇报任务标准数据详情(公共)-是否末级指标不能为空", false);
        Assert.isNull(queryToBeReportedTaskStandardDataDetailComReqDto.getIsLastCycle(), "B3-查询待汇报任务标准数据详情-D3-查询待汇报任务标准数据详情(公共)-是否末级周期不能为空", false);
        Assert.isNull(queryToBeReportedTaskStandardDataDetailComReqDto.getIsAutoReport(), "B3-查询待汇报任务标准数据详情-D3-查询待汇报任务标准数据详情(公共)-是否自动汇报不能为空", false);
        Assert.isNull(queryToBeReportedTaskStandardDataDetailComReqDto.getEvaluationTemplateId(), "B3-查询待汇报任务标准数据详情-D3-查询待汇报任务标准数据详情(公共)-冗余评价模板ID不能为空", false);
        queryToBeReportedTaskStandardDataDetailComRespDto = fwAppTaskClient.queryToBeReportedTaskStandardDataDetailCom(queryToBeReportedTaskStandardDataDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryToBeReportedTaskStandardDataDetailComRespDto_1 = queryToBeReportedTaskStandardDataDetailComRespDto;
//virtualUsage D3查询评价模板详情(公共)  61846
        QueryEvaTempDetailComRespDto queryEvaTempDetailComRespDto = null;
        QueryEvaTempDetailComReqDto queryEvaTempDetailComReqDto = new QueryEvaTempDetailComReqDto();
        queryEvaTempDetailComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1561544_1_61846
        if (reqDto != null) {
            queryEvaTempDetailComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1561542_1_61846
        }

        /*D3查询评价模板详情(公共)[8468]   */
        Assert.isNull(queryEvaTempDetailComReqDto.getEvaluationTemplateId(), "B3-查询待汇报任务标准数据详情-D3查询评价模板详情(公共)-评价模板ID不能为空", false);
        Assert.isNull(queryEvaTempDetailComReqDto.getSubjectLifeCycle(), "B3-查询待汇报任务标准数据详情-D3查询评价模板详情(公共)-主体生命周期不能为空", false);
        queryEvaTempDetailComRespDto = fwAppEvaThemeClient.queryEvaTempDetailCom(queryEvaTempDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//virtualUsage D2-3查预算资金单位  61847
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto.setResultAspObjId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1561538_1_61847
        queryConfItemMatchAnswerDetailComReqDto.setConfItemCode("CASH_ACCOUNT_UNIT");//CUSTOM_CONVENTION//sourceId:1561539_1_61847
        queryConfItemMatchAnswerDetailComReqDto.setIsPlatData("FALSE");//sourceId:1561540_1_61847

        /*D2-3查预算资金单位[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getResultAspObjId(), "B3-查询待汇报任务标准数据详情-D2-3查预算资金单位-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getConfItemCode(), "B3-查询待汇报任务标准数据详情-D2-3查预算资金单位-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getIsPlatData(), "B3-查询待汇报任务标准数据详情-D2-3查预算资金单位-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto = fwCompConfSchemeClient.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryConfItemMatchAnswerDetailComRespDto_1 = queryConfItemMatchAnswerDetailComRespDto;
//virtualUsage D3-查询可用财务科目列表(公共)  54611
        QueryUsableAccountSubjectListComRespDto queryUsableAccountSubjectListComRespDto = null;
        if (queryEvaTempDetailComRespDto != null) {
            QueryUsableAccountSubjectListComReqDto queryUsableAccountSubjectListComReqDto = new QueryUsableAccountSubjectListComReqDto();
            if (queryEvaTempDetailComRespDto != null) {
                queryUsableAccountSubjectListComReqDto.setEvaluationSubjectId(queryEvaTempDetailComRespDto.getEvaluationSubjectId());//SimpleFieldAssign//sourceId:1741018_1_54611
            }

            /*D3-查询可用财务科目列表(公共)[8021]   */
            Assert.isNull(queryUsableAccountSubjectListComReqDto.getEvaluationSubjectId(), "B3-查询待汇报任务标准数据详情-D3-查询可用财务科目列表(公共)-评价主题ID不能为空", false);
            queryUsableAccountSubjectListComRespDto = fwAppFinanceClient.queryUsableAccountSubjectListCom(queryUsableAccountSubjectListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            queryUsableAccountSubjectListComRespDto_1 = queryUsableAccountSubjectListComRespDto;
        }
        BffQueryToBeReportedTaskStandardDataDetailRespDto retData = new BffQueryToBeReportedTaskStandardDataDetailRespDto();
        if (queryToBeReportedTaskStandardDataDetailComRespDto_1 != null) {
            retData.setDecimalDigitsLastRules(queryToBeReportedTaskStandardDataDetailComRespDto_1.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:1140277_1
            retData.setIncreasesDropDecimalPoint(queryToBeReportedTaskStandardDataDetailComRespDto_1.getIncreasesDropDecimalPoint());//SimpleFieldAssign//sourceId:1140278_1
            retData.setShowTargetValue(queryToBeReportedTaskStandardDataDetailComRespDto_1.getShowTargetValue());//SimpleFieldAssign//sourceId:1140279_1
            retData.setUnit(queryToBeReportedTaskStandardDataDetailComRespDto_1.getUnit());//SimpleFieldAssign//sourceId:1140280_1
            retData.setProgressValue(queryToBeReportedTaskStandardDataDetailComRespDto_1.getProgressValue());//SimpleFieldAssign//sourceId:1140281_1
            retData.setParentProgressValue(queryToBeReportedTaskStandardDataDetailComRespDto_1.getParentProgressValue());//SimpleFieldAssign//sourceId:1140282_1
            retData.setProgressValueUnit(queryToBeReportedTaskStandardDataDetailComRespDto_1.getProgressValueUnit());//SimpleFieldAssign//sourceId:1140283_1
            retData.setCountProgressValue(queryToBeReportedTaskStandardDataDetailComRespDto_1.getCountProgressValue());//SimpleFieldAssign//sourceId:1140284_1
            retData.setCountProgressValueUnit(queryToBeReportedTaskStandardDataDetailComRespDto_1.getCountProgressValueUnit());//SimpleFieldAssign//sourceId:1140285_1
            retData.setActualValue(queryToBeReportedTaskStandardDataDetailComRespDto_1.getActualValue());//SimpleFieldAssign//sourceId:1140286_1
            retData.setParentActualValue(queryToBeReportedTaskStandardDataDetailComRespDto_1.getParentActualValue());//SimpleFieldAssign//sourceId:1140287_1
            retData.setActualValueUnit(queryToBeReportedTaskStandardDataDetailComRespDto_1.getActualValueUnit());//SimpleFieldAssign//sourceId:1140288_1
            retData.setCountActualValue(queryToBeReportedTaskStandardDataDetailComRespDto_1.getCountActualValue());//SimpleFieldAssign//sourceId:1140289_1
            retData.setCountActualValueUnit(queryToBeReportedTaskStandardDataDetailComRespDto_1.getCountActualValueUnit());//SimpleFieldAssign//sourceId:1140290_1
            retData.setBudgetDisburse(queryToBeReportedTaskStandardDataDetailComRespDto_1.getBudgetDisburse());//SimpleFieldAssign//sourceId:1561584_1
            retData.setParentBudgetDisburse(queryToBeReportedTaskStandardDataDetailComRespDto_1.getParentBudgetDisburse());//SimpleFieldAssign//sourceId:1561585_1
            retData.setCumulativeFundsExpend(queryToBeReportedTaskStandardDataDetailComRespDto_1.getCumulativeFundsExpend());//SimpleFieldAssign//sourceId:1353638_1
            retData.setSubmitStandardDataTips(queryToBeReportedTaskStandardDataDetailComRespDto_1.getSubmitStandardDataTips());//SimpleFieldAssign//sourceId:1154999_1
        }
        if (queryConfItemMatchAnswerDetailComRespDto_1 != null) {
            retData.setBudgetDisburseUnit(queryConfItemMatchAnswerDetailComRespDto_1.getConfOptionName());//SimpleFieldAssign//sourceId:1562117_1
        }
        if (queryUsableAccountSubjectListComRespDto_1 != null) {
            retData.setAccountSubjectList(queryUsableAccountSubjectListComRespDto_1.getAccountSubjectList().stream().map(item -> BeanUtil.toBean(item, BffAccountSubjectDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1351608_1
        }


        return retData;
    }

    /**
     * B3-待汇报任务提交标准数据元素分析[7458]
     * gen by moon at 3/5/2024, 1:12:40 AM
     */
    @Trace(operationName = "B3-待汇报任务提交标准数据元素分析")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffImplementReportTaskSubmitDataAnalyseRespDto implementReportTaskSubmitDataAnalyse(BffImplementReportTaskSubmitDataAnalyseReqDto reqDto) {


        com.wicket.okrcalc.integration.dto.QueryConfigOfReportingTaskCalcDetailComRespDto queryConfigOfReportingTaskCalcDetailComRespDto_1 = null;
//步骤0: D4-查询汇报任务计算相关配置详情(公共) - queryConfigOfReportingTaskCalcDetailCom
        com.wicket.okrcalc.integration.dto.QueryConfigOfReportingTaskCalcDetailComRespDto queryConfigOfReportingTaskCalcDetailComRespDto = null;
        com.wicket.okrcalc.integration.dto.QueryConfigOfReportingTaskCalcDetailComReqDto queryConfigOfReportingTaskCalcDetailComReqDto = new com.wicket.okrcalc.integration.dto.QueryConfigOfReportingTaskCalcDetailComReqDto();
        if (reqDto != null) {
            queryConfigOfReportingTaskCalcDetailComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1562447_1
            queryConfigOfReportingTaskCalcDetailComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1562449_1
            queryConfigOfReportingTaskCalcDetailComReqDto.setTaskId(reqDto.getTaskId());//SimpleFieldAssign//sourceId:1562450_1
            queryConfigOfReportingTaskCalcDetailComReqDto.setTargetCycleContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1562442_1
            queryConfigOfReportingTaskCalcDetailComReqDto.setTargetId(reqDto.getTargetId());
            queryConfigOfReportingTaskCalcDetailComReqDto.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:1562443_1
            queryConfigOfReportingTaskCalcDetailComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1562448_1
        }

        /*D4-查询汇报任务计算相关配置详情(公共)[3304]   */
        Assert.isNull(queryConfigOfReportingTaskCalcDetailComReqDto.getEvaObjTargetCycleId(), "B3-待汇报任务提交标准数据元素分析-D4-查询汇报任务计算相关配置详情(公共)-被评对象目标周期ID不能为空", false);
        Assert.isNull(queryConfigOfReportingTaskCalcDetailComReqDto.getCycleId(), "B3-待汇报任务提交标准数据元素分析-D4-查询汇报任务计算相关配置详情(公共)-周期ID不能为空", false);
        Assert.isNull(queryConfigOfReportingTaskCalcDetailComReqDto.getTaskId(), "B3-待汇报任务提交标准数据元素分析-D4-查询汇报任务计算相关配置详情(公共)-任务ID不能为空", false);
        Assert.isNull(queryConfigOfReportingTaskCalcDetailComReqDto.getTargetCycleContentId(), "B3-待汇报任务提交标准数据元素分析-D4-查询汇报任务计算相关配置详情(公共)-关联目标内容ID不能为空", false);
        Assert.isNull(queryConfigOfReportingTaskCalcDetailComReqDto.getTargetCycleContentTypeCode(), "B3-待汇报任务提交标准数据元素分析-D4-查询汇报任务计算相关配置详情(公共)-关联目标内容类型编码不能为空", false);
        Assert.isNull(queryConfigOfReportingTaskCalcDetailComReqDto.getEvaluationTemplateId(), "B3-待汇报任务提交标准数据元素分析-D4-查询汇报任务计算相关配置详情(公共)-冗余评价模板ID不能为空", false);
        queryConfigOfReportingTaskCalcDetailComRespDto = fwCalcTaskClient.queryConfigOfReportingTaskCalcDetailCom(queryConfigOfReportingTaskCalcDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryConfigOfReportingTaskCalcDetailComRespDto_1 = queryConfigOfReportingTaskCalcDetailComRespDto;

        BffImplementReportTaskSubmitDataAnalyseRespDto retData = new BffImplementReportTaskSubmitDataAnalyseRespDto();
        if (queryConfigOfReportingTaskCalcDetailComRespDto_1 != null) {
            retData.setProgressValueElement(String.valueOf(queryConfigOfReportingTaskCalcDetailComRespDto_1.getProgressValueElement()));//SimpleFieldAssign//sourceId:1562468_1
            retData.setActualValueElement(String.valueOf(queryConfigOfReportingTaskCalcDetailComRespDto_1.getActualValueElement()));//SimpleFieldAssign//sourceId:1562469_1
            retData.setBudgetAmountElement(String.valueOf(queryConfigOfReportingTaskCalcDetailComRespDto_1.getBudgetAmountElement()));//SimpleFieldAssign//sourceId:1562470_1
            retData.setProgressValueInterFaceElement(queryConfigOfReportingTaskCalcDetailComRespDto_1.getProgressValueInterFaceElement() != null ? String.valueOf(queryConfigOfReportingTaskCalcDetailComRespDto_1.getProgressValueInterFaceElement()) : "");//SimpleFieldAssign//sourceId:1562471_1
            retData.setActualValueInterFaceElement(queryConfigOfReportingTaskCalcDetailComRespDto_1.getActualValueInterFaceElement() != null ? String.valueOf(queryConfigOfReportingTaskCalcDetailComRespDto_1.getActualValueInterFaceElement()) : "");//SimpleFieldAssign//sourceId:1562472_1
            retData.setActualValueCalcFormula(queryConfigOfReportingTaskCalcDetailComRespDto_1.getActualValueCalcFormula() != null ? String.valueOf(queryConfigOfReportingTaskCalcDetailComRespDto_1.getActualValueCalcFormula()) : "");//SimpleFieldAssign//sourceId:1562473_1
            retData.setSchemeDataPara(queryConfigOfReportingTaskCalcDetailComRespDto_1.getSchemeDataPara());//SimpleFieldAssign//sourceId:1562474_1
            retData.setTargetValueType(queryConfigOfReportingTaskCalcDetailComRespDto_1.getTargetValueType());//SimpleFieldAssign//sourceId:1562475_1
            retData.setIsLeft(queryConfigOfReportingTaskCalcDetailComRespDto_1.getIsLeft());//SimpleFieldAssign//sourceId:1562476_1
        }


        return retData;
    }

    /**
     * B3-执行汇报任务暂存及提交元素分析[7467]
     * gen by moon at 10/1/2023, 12:53:00 AM
     */
    @Trace(operationName = "B3-执行汇报任务暂存及提交元素分析")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffImplementJudgeTaskReportTempAndSubmitRespDto implementJudgeTaskReportTempAndSubmit(BffImplementJudgeTaskReportTempAndSubmitReqDto reqDto) {


        ImplementJudgeTaskReportTempAndSubmitComRespDto implementJudgeTaskReportTempAndSubmitComRespDto_1 = null;
//步骤0: D3-执行汇报任务暂存及提交元素分析(公共) - implementJudgeTaskReportTempAndSubmitCom
        ImplementJudgeTaskReportTempAndSubmitComRespDto implementJudgeTaskReportTempAndSubmitComRespDto = null;
        ImplementJudgeTaskReportTempAndSubmitComReqDto implementJudgeTaskReportTempAndSubmitComReqDto = new ImplementJudgeTaskReportTempAndSubmitComReqDto();
        if (reqDto != null) {
            implementJudgeTaskReportTempAndSubmitComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1146225_1
            implementJudgeTaskReportTempAndSubmitComReqDto.setPeriodId(reqDto.getPeriodId());//SimpleFieldAssign//sourceId:1146226_1
            implementJudgeTaskReportTempAndSubmitComReqDto.setTargetCycleContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1146227_1
            implementJudgeTaskReportTempAndSubmitComReqDto.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:1146228_1
            implementJudgeTaskReportTempAndSubmitComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1146229_1
        }

        /*D3-执行汇报任务暂存及提交元素分析(公共)[7468]   */
        Assert.isNull(implementJudgeTaskReportTempAndSubmitComReqDto.getEvaObjTargetCycleId(), "B3-执行汇报任务暂存及提交元素分析-D3-执行汇报任务暂存及提交元素分析(公共)-被评对象目标周期ID不能为空", false);
        Assert.isNull(implementJudgeTaskReportTempAndSubmitComReqDto.getPeriodId(), "B3-执行汇报任务暂存及提交元素分析-D3-执行汇报任务暂存及提交元素分析(公共)-周期ID不能为空", false);
        Assert.isNull(implementJudgeTaskReportTempAndSubmitComReqDto.getTargetCycleContentId(), "B3-执行汇报任务暂存及提交元素分析-D3-执行汇报任务暂存及提交元素分析(公共)-关联目标内容ID不能为空", false);
        Assert.isNull(implementJudgeTaskReportTempAndSubmitComReqDto.getTargetCycleContentTypeCode(), "B3-执行汇报任务暂存及提交元素分析-D3-执行汇报任务暂存及提交元素分析(公共)-关联目标内容类型编码不能为空", false);
        Assert.isNull(implementJudgeTaskReportTempAndSubmitComReqDto.getEvaluationTemplateId(), "B3-执行汇报任务暂存及提交元素分析-D3-执行汇报任务暂存及提交元素分析(公共)-冗余评价模板ID不能为空", false);
        implementJudgeTaskReportTempAndSubmitComRespDto = fwAppTaskClient.implementJudgeTaskReportTempAndSubmitCom(implementJudgeTaskReportTempAndSubmitComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        implementJudgeTaskReportTempAndSubmitComRespDto_1 = implementJudgeTaskReportTempAndSubmitComRespDto;

        BffImplementJudgeTaskReportTempAndSubmitRespDto retData = new BffImplementJudgeTaskReportTempAndSubmitRespDto();
        if (implementJudgeTaskReportTempAndSubmitComRespDto_1 != null) {
            retData.setSubmitReportElement(implementJudgeTaskReportTempAndSubmitComRespDto_1.getSubmitReportElement());//SimpleFieldAssign//sourceId:1146236_1
        }


        return retData;
    }

    /**
     * B3-执行提醒下级去汇报[7598]
     * gen by moon at 10/22/2023, 7:52:35 PM
     */
    @Trace(operationName = "B3-执行提醒下级去汇报")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffImplementRemindToReportRespDto implementRemindToReport(BffImplementRemindToReportReqDto reqDto) {


        //步骤0: D3-执行提醒下级去汇报(公共) - implementRemindToReportCom
        ImplementRemindToReportComRespDto implementRemindToReportComRespDto = null;
        ImplementRemindToReportComReqDto implementRemindToReportComReqDto = new ImplementRemindToReportComReqDto();
        if (reqDto != null) {
            implementRemindToReportComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1200244_1
            implementRemindToReportComReqDto.setTaskId(reqDto.getTaskId());//SimpleFieldAssign//sourceId:1200245_1
            implementRemindToReportComReqDto.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:1200246_1
            implementRemindToReportComReqDto.setTargetCycleContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1200247_1
            implementRemindToReportComReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:1200248_1
            implementRemindToReportComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1200249_1
        }

        /*D3-执行提醒下级去汇报(公共)[7599]   */
        Assert.isNull(implementRemindToReportComReqDto.getCycleId(), "B3-执行提醒下级去汇报-D3-执行提醒下级去汇报(公共)-周期ID不能为空", false);
        Assert.isNull(implementRemindToReportComReqDto.getTaskId(), "B3-执行提醒下级去汇报-D3-执行提醒下级去汇报(公共)-任务ID不能为空", false);
        Assert.isNull(implementRemindToReportComReqDto.getTargetCycleContentTypeCode(), "B3-执行提醒下级去汇报-D3-执行提醒下级去汇报(公共)-关联目标内容类型编码不能为空", false);
        Assert.isNull(implementRemindToReportComReqDto.getTargetCycleContentId(), "B3-执行提醒下级去汇报-D3-执行提醒下级去汇报(公共)-关联目标内容ID不能为空", false);
        Assert.isNull(implementRemindToReportComReqDto.getTargetId(), "B3-执行提醒下级去汇报-D3-执行提醒下级去汇报(公共)-冗余目标ID不能为空", false);
        Assert.isNull(implementRemindToReportComReqDto.getEvaluationTemplateId(), "B3-执行提醒下级去汇报-D3-执行提醒下级去汇报(公共)-冗余评价模板ID不能为空", false);
        implementRemindToReportComRespDto = fwAppTaskClient.implementRemindToReportCom(implementRemindToReportComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffImplementRemindToReportRespDto retData = new BffImplementRemindToReportRespDto();


        return retData;
    }

    /**
     * B3提交汇报进度值实际值等标准数据[8651]
     * gen by moon at 5/27/2024, 1:22:56 PM
     */
    @Trace(operationName = "B3提交汇报进度值实际值等标准数据")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffCommitToBeReportedProAndActAndBudDataRespDto commitToBeReportedProAndActAndBudData(BffCommitToBeReportedProAndActAndBudDataReqDto reqDto) {


        //步骤0: D3-操作汇报任务权限校验(公共) - tempStorageTaskReportPermissionVerificationCom
        TempStorageTaskReportPermissionVerificationComRespDto tempStorageTaskReportPermissionVerificationComRespDto = null;
        TempStorageTaskReportPermissionVerificationComReqDto tempStorageTaskReportPermissionVerificationComReqDto = new TempStorageTaskReportPermissionVerificationComReqDto();
        if (reqDto != null) {
//      tempStorageTaskReportPermissionVerificationComReqDto.setTargetCycleContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1745409_1
            tempStorageTaskReportPermissionVerificationComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1745408_1
        }

        /*D3-操作汇报任务权限校验(公共)[6302]   */
//    Assert.isNull(tempStorageTaskReportPermissionVerificationComReqDto.getTargetCycleContentId(),"B3提交汇报进度值实际值等标准数据-D3-操作汇报任务权限校验(公共)-关联目标内容ID不能为空",false);
        Assert.isNull(tempStorageTaskReportPermissionVerificationComReqDto.getEvaluationTemplateId(), "B3提交汇报进度值实际值等标准数据-D3-操作汇报任务权限校验(公共)-冗余评价模板ID不能为空", false);
        tempStorageTaskReportPermissionVerificationComRespDto = fwAppTaskClient.tempStorageTaskReportPermissionVerificationCom(tempStorageTaskReportPermissionVerificationComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//步骤1: D4提交汇报进度值实际值等(公共) - commitToBeReportedTaskStdDataCom
        com.wicket.okrcalc.integration.dto.CommitToBeReportedTaskStdDataComRespDto commitToBeReportedTaskStdDataComRespDto = null;


        com.wicket.okrcalc.integration.dto.CommitToBeReportedTaskStdDataComReqDto commitToBeReportedTaskStdDataComReqDto = new com.wicket.okrcalc.integration.dto.CommitToBeReportedTaskStdDataComReqDto();
        commitToBeReportedTaskStdDataComReqDto.setResultType("MANUAL_INPUT");//sourceId:1746477_1
        commitToBeReportedTaskStdDataComReqDto.setEvaObjEntityId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1746480_1
        commitToBeReportedTaskStdDataComReqDto.setEvaObjTypeCode("EVA_OBJECT");//sourceId:1746481_1
        commitToBeReportedTaskStdDataComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1746476_1
        if (reqDto != null) {
            commitToBeReportedTaskStdDataComReqDto.setProgressValue(reqDto.getProgressValue());//SimpleFieldAssign//sourceId:1746471_1
            commitToBeReportedTaskStdDataComReqDto.setActualValue(reqDto.getActualValue());//SimpleFieldAssign//sourceId:1746472_1
            commitToBeReportedTaskStdDataComReqDto.setBudgetDisburse(reqDto.getBudgetDisburse());//SimpleFieldAssign//sourceId:1746473_1
            commitToBeReportedTaskStdDataComReqDto.setEntityId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1746478_1
            commitToBeReportedTaskStdDataComReqDto.setBelongToContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1746479_1
            commitToBeReportedTaskStdDataComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1746482_1
            commitToBeReportedTaskStdDataComReqDto.setCycleTypeCode(reqDto.getCycleTypeCode());//SimpleFieldAssign//sourceId:1746474_1
            commitToBeReportedTaskStdDataComReqDto.setAccountSubjectld(reqDto.getAccountSubjectld());//SimpleFieldAssign//sourceId:1746483_1
            commitToBeReportedTaskStdDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1746475_1
            commitToBeReportedTaskStdDataComReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1746485_1
        }

        /*D4提交汇报进度值实际值等(公共)[8637]   */
        Assert.isNull(commitToBeReportedTaskStdDataComReqDto.getResultType(), "B3提交汇报进度值实际值等标准数据-D4提交汇报进度值实际值等(公共)-结果产生类型不能为空", false);
        Assert.isNull(commitToBeReportedTaskStdDataComReqDto.getEvaObjEntityId(), "B3提交汇报进度值实际值等标准数据-D4提交汇报进度值实际值等(公共)-主树被评对象内容表主键ID不能为空", false);
        Assert.isNull(commitToBeReportedTaskStdDataComReqDto.getEvaObjTypeCode(), "B3提交汇报进度值实际值等标准数据-D4提交汇报进度值实际值等(公共)-主树被评对象类型编码不能为空", false);
        Assert.isNull(commitToBeReportedTaskStdDataComReqDto.getEntityId(), "B3提交汇报进度值实际值等标准数据-D4提交汇报进度值实际值等(公共)-归属内容表主键ID不能为空", false);
        Assert.isNull(commitToBeReportedTaskStdDataComReqDto.getBelongToContentId(), "B3提交汇报进度值实际值等标准数据-D4提交汇报进度值实际值等(公共)-数据归属内容表主键ID不能为空", false);
        Assert.isNull(commitToBeReportedTaskStdDataComReqDto.getCycleId(), "B3提交汇报进度值实际值等标准数据-D4提交汇报进度值实际值等(公共)-归属周期ID不能为空", false);
        Assert.isNull(commitToBeReportedTaskStdDataComReqDto.getCycleTypeCode(), "B3提交汇报进度值实际值等标准数据-D4提交汇报进度值实际值等(公共)-周期类型标识不能为空", false);
        Assert.isNull(commitToBeReportedTaskStdDataComReqDto.getEvaluationTemplateId(), "B3提交汇报进度值实际值等标准数据-D4提交汇报进度值实际值等(公共)-冗余评价模板ID不能为空", false);
        Assert.isNull(commitToBeReportedTaskStdDataComReqDto.getSubjectLifeCycle(), "B3提交汇报进度值实际值等标准数据-D4提交汇报进度值实际值等(公共)-主体生命周期不能为空", false);
        Assert.isNull(commitToBeReportedTaskStdDataComReqDto.getSpaceId(), "B3提交汇报进度值实际值等标准数据-D4提交汇报进度值实际值等(公共)-创建于空间ID不能为空", false);
        commitToBeReportedTaskStdDataComRespDto = fwCalcTargetCalcClient.commitToBeReportedTaskStdDataCom(commitToBeReportedTaskStdDataComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffCommitToBeReportedProAndActAndBudDataRespDto retData = new BffCommitToBeReportedProAndActAndBudDataRespDto();


        return retData;
    }

    /**
     * B4提交评价标准数据[8710]
     * gen by moon at 6/11/2024, 6:47:22 AM
     */
    @Trace(operationName = "B4提交评价标准数据")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffCommitEvaStandardDataRespDto commitEvaStandardData(BffCommitEvaStandardDataReqDto reqDto) {


        CommitEvaStandardDataComRespDto commitEvaStandardDataComRespDto_1 = null;
//步骤0: D3-操作汇报任务权限校验(公共) - tempStorageTaskReportPermissionVerificationCom
        TempStorageTaskReportPermissionVerificationComRespDto tempStorageTaskReportPermissionVerificationComRespDto = null;
        TempStorageTaskReportPermissionVerificationComReqDto tempStorageTaskReportPermissionVerificationComReqDto = new TempStorageTaskReportPermissionVerificationComReqDto();
        if (reqDto != null) {
            tempStorageTaskReportPermissionVerificationComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1627482_1
        }

        /*D3-操作汇报任务权限校验(公共)[6302]   */
        Assert.isNull(tempStorageTaskReportPermissionVerificationComReqDto.getEvaluationTemplateId(), "B4提交评价标准数据-D3-操作汇报任务权限校验(公共)-冗余评价模板ID不能为空", false);
        tempStorageTaskReportPermissionVerificationComRespDto = fwAppTaskClient.tempStorageTaskReportPermissionVerificationCom(tempStorageTaskReportPermissionVerificationComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//步骤1: D4提交评价标准数据(公共) - commitEvaStandardDataCom
        CommitEvaStandardDataComRespDto commitEvaStandardDataComRespDto = null;
        CommitEvaStandardDataComReqDto commitEvaStandardDataComReqDto = new CommitEvaStandardDataComReqDto();
        commitEvaStandardDataComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1863320_1
        if (reqDto != null) {
            commitEvaStandardDataComReqDto.setSubjectiveMark(reqDto.getSubjectiveMark());//SimpleFieldAssign//sourceId:1627476_1
            commitEvaStandardDataComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1627477_1
            commitEvaStandardDataComReqDto.setCycleTypeCode(reqDto.getCycleTypeCode());//SimpleFieldAssign//sourceId:1748124_1
            commitEvaStandardDataComReqDto.setTaskId(reqDto.getTaskId());//SimpleFieldAssign//sourceId:1627480_1
            commitEvaStandardDataComReqDto.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:1748125_1
            commitEvaStandardDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1627478_1
            commitEvaStandardDataComReqDto.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:1748126_1
            commitEvaStandardDataComReqDto.setTargetCycleContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1748127_1
            commitEvaStandardDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1627479_1
        }

        /*D4提交评价标准数据(公共)[8706]   */
        Assert.isNull(commitEvaStandardDataComReqDto.getSubjectiveMark(), "B4提交评价标准数据-D4提交评价标准数据(公共)-主观评分不能为空", false);
        Assert.isNull(commitEvaStandardDataComReqDto.getCycleId(), "B4提交评价标准数据-D4提交评价标准数据(公共)-周期ID不能为空", false);
        Assert.isNull(commitEvaStandardDataComReqDto.getCycleTypeCode(), "B4提交评价标准数据-D4提交评价标准数据(公共)-周期类型标识不能为空", false);
        Assert.isNull(commitEvaStandardDataComReqDto.getTaskId(), "B4提交评价标准数据-D4提交评价标准数据(公共)-任务ID不能为空", false);
        Assert.isNull(commitEvaStandardDataComReqDto.getCycleStageDataId(), "B4提交评价标准数据-D4提交评价标准数据(公共)-周期阶段资料记录ID不能为空", false);
        Assert.isNull(commitEvaStandardDataComReqDto.getEvaObjTargetCycleId(), "B4提交评价标准数据-D4提交评价标准数据(公共)-被评对象目标周期ID不能为空", false);
        Assert.isNull(commitEvaStandardDataComReqDto.getTargetCycleContentTypeCode(), "B4提交评价标准数据-D4提交评价标准数据(公共)-关联目标内容类型编码不能为空", false);
        Assert.isNull(commitEvaStandardDataComReqDto.getTargetCycleContentId(), "B4提交评价标准数据-D4提交评价标准数据(公共)-关联目标内容ID不能为空", false);
        Assert.isNull(commitEvaStandardDataComReqDto.getEvaluationTemplateId(), "B4提交评价标准数据-D4提交评价标准数据(公共)-冗余评价模板ID不能为空", false);
        Assert.isNull(commitEvaStandardDataComReqDto.getSpaceId(), "B4提交评价标准数据-D4提交评价标准数据(公共)-创建于空间ID不能为空", false);
        commitEvaStandardDataComRespDto = fwCalcTaskClient.commitEvaStandardDataCom(commitEvaStandardDataComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        commitEvaStandardDataComRespDto_1 = commitEvaStandardDataComRespDto;

        BffCommitEvaStandardDataRespDto retData = new BffCommitEvaStandardDataRespDto();
        if (commitEvaStandardDataComRespDto_1 != null) {
            retData.setCalcResult(commitEvaStandardDataComRespDto_1.getCalcResult());//SimpleFieldAssign//sourceId:1761963_1
        }


        return retData;
    }

    /**
     * B3设汇报任务问题数据状态[9949]
     * gen by moon at 7/13/2024, 1:13:30 AM
     */
    @Trace(operationName = "B3设汇报任务问题数据状态")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffImplementSetReportTaskProblemDataStatusRespDto implementSetReportTaskProblemDataStatus(BffImplementSetReportTaskProblemDataStatusReqDto reqDto) {


        //步骤0: D3执行设汇报任务问题数据状态(公共) - implementSetReportTaskProblemDataStatusCom
        ImplementSetReportTaskProblemDataStatusComRespDto implementSetReportTaskProblemDataStatusComRespDto = null;
        ImplementSetReportTaskProblemDataStatusComReqDto implementSetReportTaskProblemDataStatusComReqDto = new ImplementSetReportTaskProblemDataStatusComReqDto();
        if (reqDto != null) {
            implementSetReportTaskProblemDataStatusComReqDto.setSetReportTaskProblemDataType(reqDto.getSetReportTaskProblemDataType());//SimpleFieldAssign//sourceId:1927210_1
            implementSetReportTaskProblemDataStatusComReqDto.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:1927211_1
            implementSetReportTaskProblemDataStatusComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1927212_1
        }

        /*D3执行设汇报任务问题数据状态(公共)[9950]   */
        Assert.isNull(implementSetReportTaskProblemDataStatusComReqDto.getSetReportTaskProblemDataType(), "B3设汇报任务问题数据状态-D3执行设汇报任务问题数据状态(公共)-设问题数据状态操作类型编码不能为空", false);
        Assert.isNull(implementSetReportTaskProblemDataStatusComReqDto.getCycleStageDataId(), "B3设汇报任务问题数据状态-D3执行设汇报任务问题数据状态(公共)-周期阶段资料记录ID不能为空", false);
        Assert.isNull(implementSetReportTaskProblemDataStatusComReqDto.getEvaluationTemplateId(), "B3设汇报任务问题数据状态-D3执行设汇报任务问题数据状态(公共)-冗余评价模板ID不能为空", false);
        implementSetReportTaskProblemDataStatusComRespDto = fwAppTaskClient.implementSetReportTaskProblemDataStatusCom(implementSetReportTaskProblemDataStatusComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffImplementSetReportTaskProblemDataStatusRespDto retData = new BffImplementSetReportTaskProblemDataStatusRespDto();


        return retData;
    }

    /**
     * B3查询未发布的汇报资料详情[9980]
     * gen by moon at 7/20/2024, 3:18:05 PM
     */
    @Trace(operationName = "B3查询未发布的汇报资料详情")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryNotReleaseTaskInfoDetailRespDto queryNotReleaseTaskInfoDetail(BffQueryNotReleaseTaskInfoDetailReqDto reqDto) {


        QueryNotReleaseTaskInfoDetailComRespDto queryNotReleaseTaskInfoDetailComRespDto_1 = null;
//步骤0: D3-查询未发布的汇报资料详情(公共) - queryNotReleaseTaskInfoDetailCom
        QueryNotReleaseTaskInfoDetailComRespDto queryNotReleaseTaskInfoDetailComRespDto = null;
        QueryNotReleaseTaskInfoDetailComReqDto queryNotReleaseTaskInfoDetailComReqDto = new QueryNotReleaseTaskInfoDetailComReqDto();
        if (reqDto != null) {
            queryNotReleaseTaskInfoDetailComReqDto.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:1939077_1
        }

        /*D3-查询未发布的汇报资料详情(公共)[2785]   */
        Assert.isNull(queryNotReleaseTaskInfoDetailComReqDto.getCycleStageDataId(), "B3查询未发布的汇报资料详情-D3-查询未发布的汇报资料详情(公共)-周期阶段资料记录ID不能为空", false);
        queryNotReleaseTaskInfoDetailComRespDto = fwAppTaskClient.queryNotReleaseTaskInfoDetailCom(queryNotReleaseTaskInfoDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryNotReleaseTaskInfoDetailComRespDto_1 = queryNotReleaseTaskInfoDetailComRespDto;

        BffQueryNotReleaseTaskInfoDetailRespDto retData = new BffQueryNotReleaseTaskInfoDetailRespDto();
        if (queryNotReleaseTaskInfoDetailComRespDto_1 != null) {
            retData.setCycleStageDataId(queryNotReleaseTaskInfoDetailComRespDto_1.getCycleStageDataId());//SimpleFieldAssign//sourceId:1939105_1
            retData.setCycleDataObjId(queryNotReleaseTaskInfoDetailComRespDto_1.getCycleDataObjId());//SimpleFieldAssign//sourceId:1939106_1
            retData.setParentSubMidCycleType(queryNotReleaseTaskInfoDetailComRespDto_1.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1941434_1
            retData.setIsSymbolicAchievements(queryNotReleaseTaskInfoDetailComRespDto_1.getIsSymbolicAchievements());
            retData.setHypertextContent(queryNotReleaseTaskInfoDetailComRespDto_1.getHypertextContent());//SimpleFieldAssign//sourceId:1939113_1
            retData.setSumOfPro(queryNotReleaseTaskInfoDetailComRespDto_1.getSumOfPro());//SimpleFieldAssign//sourceId:1941427_1
            retData.setSolvingIdeas(queryNotReleaseTaskInfoDetailComRespDto_1.getSolvingIdeas());//SimpleFieldAssign//sourceId:1941428_1
            retData.setPicSingleSetDataEntryList(queryNotReleaseTaskInfoDetailComRespDto_1.getPicSingleSetDataEntryList());//list-field-assign//sourceId:1939104_1
        }


        return retData;
    }

    /**
     * B3查询新汇报任务列表[10210]
     * gen by moon at 3/28/2025, 5:44:49 PM
     */
    @Trace(operationName = "B3查询新汇报任务列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryReportTaskListRespDto queryReportTaskList(BffQueryReportTaskListReqDto reqDto) {


        QueryReportTaskListComRespDto queryReportTaskListComRespDto_1 = null;
        QueryListByTimeSliceContentVirtualOrgMemberComRespDto queryListByTimeSliceContentVirtualOrgMemberComRespDto_1 = null;
//步骤0: D3分析汇报任务筛选父子中周期类型(公共) - implementFatherMidSubCycleAnalysisCom
        ImplementFatherMidSubCycleAnalysisComRespDto implementFatherMidSubCycleAnalysisComRespDto = null;
        ImplementFatherMidSubCycleAnalysisComReqDto implementFatherMidSubCycleAnalysisComReqDto = new ImplementFatherMidSubCycleAnalysisComReqDto();
        if (reqDto != null) {
            implementFatherMidSubCycleAnalysisComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1999622_1
            implementFatherMidSubCycleAnalysisComReqDto.setIsFatherCycle(reqDto.getIsFatherCycle());//SimpleFieldAssign//sourceId:1999623_1
            implementFatherMidSubCycleAnalysisComReqDto.setIsSubCycle(reqDto.getIsSubCycle());//SimpleFieldAssign//sourceId:1999624_1
            implementFatherMidSubCycleAnalysisComReqDto.setIsMetaphase(reqDto.getIsMetaphase());//SimpleFieldAssign//sourceId:1999625_1
        }

        /*D3分析汇报任务筛选父子中周期类型(公共)[7136]   */

        implementFatherMidSubCycleAnalysisComRespDto = fwAppGridCalculateClient.implementFatherMidSubCycleAnalysisCom(implementFatherMidSubCycleAnalysisComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//步骤1: D3查询新汇报任务列表(公共) - queryReportTaskListCom
        QueryReportTaskListComRespDto queryReportTaskListComRespDto = null;
        if (implementFatherMidSubCycleAnalysisComRespDto != null) {
            QueryReportTaskListComReqDto queryReportTaskListComReqDto = new QueryReportTaskListComReqDto();
            if (reqDto != null) {
                queryReportTaskListComReqDto.setIsPersonCharge(reqDto.getIsPersonCharge());//SimpleFieldAssign//sourceId:1994466_1
                queryReportTaskListComReqDto.setRoleCode(reqDto.getRoleCode());//SimpleFieldAssign//sourceId:1994467_1
                queryReportTaskListComReqDto.setBusinessOperationTypeCode(reqDto.getBusinessOperationTypeCode());//SimpleFieldAssign//sourceId:1994468_1
                queryReportTaskListComReqDto.setIsUpperLowerLevels(reqDto.getIsUpperLowerLevels());//SimpleFieldAssign//sourceId:1994469_1
                queryReportTaskListComReqDto.setStateCode(reqDto.getStateCode());//SimpleFieldAssign//sourceId:1994470_1
                queryReportTaskListComReqDto.setTaskStatus(reqDto.getTaskStatus());//SimpleFieldAssign//sourceId:1994471_1
                queryReportTaskListComReqDto.setIsComplete(reqDto.getIsComplete());//SimpleFieldAssign//sourceId:1994472_1
                queryReportTaskListComReqDto.setIsOverdue(reqDto.getIsOverdue());//SimpleFieldAssign//sourceId:1994473_1
                queryReportTaskListComReqDto.setQuestionDataTypeCode(reqDto.getQuestionDataTypeCode());//SimpleFieldAssign//sourceId:1994474_1
                queryReportTaskListComReqDto.setTreeOrderNumber(reqDto.getTreeOrderNumber());//SimpleFieldAssign//sourceId:1995644_1
                queryReportTaskListComReqDto.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1994464_1
                queryReportTaskListComReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:1994465_1
                queryReportTaskListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1994475_1
            }
            if (implementFatherMidSubCycleAnalysisComRespDto != null) {
                queryReportTaskListComReqDto.setCycleId(implementFatherMidSubCycleAnalysisComRespDto.getCycleId());//SimpleFieldAssign//sourceId:1994477_1
                queryReportTaskListComReqDto.setParentSubMidCycleType(implementFatherMidSubCycleAnalysisComRespDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1999183_1
            }

            /*D3查询新汇报任务列表(公共)[10209]   */
            Assert.isNull(queryReportTaskListComReqDto.getEvaluationTemplateId(), "B3查询新汇报任务列表-D3查询新汇报任务列表(公共)-冗余评价模板ID不能为空", false);
            queryReportTaskListComRespDto = fwAppTaskClient.queryReportTaskListCom(queryReportTaskListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            queryReportTaskListComRespDto_1 = queryReportTaskListComRespDto;
        }

//步骤2: D3-时间切片查询内容匹配虚拟成员列表(公共) - queryListByTimeSliceContentVirtualOrgMemberCom
        QueryListByTimeSliceContentVirtualOrgMemberComRespDto queryListByTimeSliceContentVirtualOrgMemberComRespDto = null;
        if (queryReportTaskListComRespDto != null) {
            QueryListByTimeSliceContentVirtualOrgMemberComReqDto queryListByTimeSliceContentVirtualOrgMemberComReqDto = new QueryListByTimeSliceContentVirtualOrgMemberComReqDto();
            //todo dong 未找到匹配生成策略,请检查生成策略queryListByTimeSliceContentVirtualOrgMemberComReqDto.setVirtualOrgMemberList(queryReportTaskListComRespDto.getReportingTaskList()),数据源项; to( ==>tableName:undefined, fieldEnname:virtualOrgMemberList ,uniqueId: 1994480_1 uniqueSourceId:1994478_1) from (varName:undefined fieldqueryReportTaskListComRespDto.getReportingTaskList())

            queryListByTimeSliceContentVirtualOrgMemberComReqDto.setVirtualOrgMemberList(queryReportTaskListComRespDto_1.getReportingTaskList().stream().map(t -> {
                VirtualOrgMemberDto elm = new VirtualOrgMemberDto();
                elm.setVirtualOrgId(t.getVirtualOrgId());
                return elm;
            }).collect(Collectors.toList()));
            queryListByTimeSliceContentVirtualOrgMemberComReqDto.setIsPersonCharge("TRUE");//sourceId:1994482_1
            if (reqDto != null) {
                queryListByTimeSliceContentVirtualOrgMemberComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1994487_1
            }
            queryListByTimeSliceContentVirtualOrgMemberComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");

            /*D3-时间切片查询内容匹配虚拟成员列表(公共)[7276]   */
            Assert.isNull(queryListByTimeSliceContentVirtualOrgMemberComReqDto.getEvaluationTemplateId(), "B3查询新汇报任务列表-D3-时间切片查询内容匹配虚拟成员列表(公共)-归属对象ID不能为空", false);
            Assert.isNull(queryListByTimeSliceContentVirtualOrgMemberComReqDto.getIsPersonCharge(), "B3查询新汇报任务列表-D3-时间切片查询内容匹配虚拟成员列表(公共)-是否负责人不能为空", false);
            queryListByTimeSliceContentVirtualOrgMemberComRespDto = fwAppVirtualOrgClient.queryListByTimeSliceContentVirtualOrgMemberCom(queryListByTimeSliceContentVirtualOrgMemberComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            queryListByTimeSliceContentVirtualOrgMemberComRespDto_1 = queryListByTimeSliceContentVirtualOrgMemberComRespDto;
        }

        BffQueryReportTaskListRespDto retData = new BffQueryReportTaskListRespDto();
        //数据集融合  MoreListToOneSource
        if (queryReportTaskListComRespDto_1 != null && !CollectionUtil.isEmpty(queryReportTaskListComRespDto_1.getReportingTaskList())) {
            for (ReportingTaskDto reportingTaskDto : queryReportTaskListComRespDto_1.getReportingTaskList()) {
                BffReportingTaskDto retElm = new BffReportingTaskDto();
                if (queryReportTaskListComRespDto_1 != null) {
                    retElm.setTaskId(reportingTaskDto.getTaskId());//SimpleFieldAssign//sourceId:415372_2
                    retElm.setTaskNumber(reportingTaskDto.getTaskNumber());//SimpleFieldAssign//sourceId:415373_2
                    retElm.setTaskName(reportingTaskDto.getTaskName());//SimpleFieldAssign//sourceId:415374_2
                    retElm.setPlanStartTime(reportingTaskDto.getPlanStartTime());//SimpleFieldAssign//sourceId:415375_2
                    retElm.setPlanEndTime(reportingTaskDto.getPlanEndTime());//SimpleFieldAssign//sourceId:415376_2
                    retElm.setActualStartTime(reportingTaskDto.getActualStartTime());//SimpleFieldAssign//sourceId:415377_2
                    retElm.setActualEndTime(reportingTaskDto.getActualEndTime());//SimpleFieldAssign//sourceId:415378_2
                    retElm.setCycleId(reportingTaskDto.getCycleId());//SimpleFieldAssign//sourceId:415379_2
                    retElm.setCycleStandardName(reportingTaskDto.getCycleStandardName());//SimpleFieldAssign//sourceId:415380_2
                    retElm.setCycleStartTime(reportingTaskDto.getCycleStartTime());//SimpleFieldAssign//sourceId:415381_2
                    retElm.setCycleEndTime(reportingTaskDto.getCycleEndTime());//SimpleFieldAssign//sourceId:415382_2
                    retElm.setCycleTypeCode(reportingTaskDto.getCycleTypeCode());//SimpleFieldAssign//sourceId:415383_2
                    retElm.setCycleTypeName(reportingTaskDto.getCycleTypeName());//SimpleFieldAssign//sourceId:415384_2
                    retElm.setCycleNumberShortName(reportingTaskDto.getCycleNumberShortName());//SimpleFieldAssign//sourceId:415385_2
                    retElm.setCycleTypeInstanceCode(reportingTaskDto.getCycleTypeInstanceCode());//SimpleFieldAssign//sourceId:415386_2
                    retElm.setIsPlanReceptionCycle(reportingTaskDto.getIsPlanReceptionCycle());//SimpleFieldAssign//sourceId:415387_2
                    retElm.setIsDoneFilleout(reportingTaskDto.getIsDoneFilleout());//SimpleFieldAssign//sourceId:415390_2
                    retElm.setIsDoneEvaluate(reportingTaskDto.getIsDoneEvaluate());//SimpleFieldAssign//sourceId:415391_2
                    retElm.setTableTypeCode(reportingTaskDto.getTableTypeCode());//SimpleFieldAssign//sourceId:415388_2
                    retElm.setEntityId(reportingTaskDto.getEntityId());//SimpleFieldAssign//sourceId:415389_2
                    retElm.setParentTableTypeCode(reportingTaskDto.getParentTableTypeCode());//SimpleFieldAssign//sourceId:415392_2
                    retElm.setParentEntityId(reportingTaskDto.getParentEntityId());//SimpleFieldAssign//sourceId:415393_2
                    retElm.setThemeContentTypeCode(reportingTaskDto.getThemeContentTypeCode());//SimpleFieldAssign//sourceId:415394_2
                    retElm.setThemeContentId(reportingTaskDto.getThemeContentId());//SimpleFieldAssign//sourceId:415395_2
                    retElm.setTargetCycleContentTypeCode(reportingTaskDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:415396_2
                    retElm.setTargetCycleContentId(reportingTaskDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:415397_2
                    retElm.setTargetId(reportingTaskDto.getTargetId());//SimpleFieldAssign//sourceId:415398_2
                    retElm.setBizAppCode(reportingTaskDto.getBizAppCode());//SimpleFieldAssign//sourceId:415399_2
                    retElm.setBizSceneCode(reportingTaskDto.getBizSceneCode());//SimpleFieldAssign//sourceId:415400_2
                    retElm.setVirtualOrgId(reportingTaskDto.getVirtualOrgId());//SimpleFieldAssign//sourceId:415401_2
                    retElm.setTaskStatus(reportingTaskDto.getTaskStatus());//SimpleFieldAssign//sourceId:415402_2
                    retElm.setIsComplete(reportingTaskDto.getIsComplete());//SimpleFieldAssign//sourceId:415403_2
                    retElm.setCompleteStatus(reportingTaskDto.getCompleteStatus());//SimpleFieldAssign//sourceId:415404_2
                    retElm.setIsOverdue(reportingTaskDto.getIsOverdue());//SimpleFieldAssign//sourceId:415405_2
                    retElm.setStateCode(reportingTaskDto.getStateCode());//SimpleFieldAssign//sourceId:415406_2
                    retElm.setIsSystemTask(reportingTaskDto.getIsSystemTask());//SimpleFieldAssign//sourceId:415407_2
                    retElm.setIsAutoReport(reportingTaskDto.getIsAutoReport());//SimpleFieldAssign//sourceId:415408_2
                    retElm.setIsReplenishReport(reportingTaskDto.getIsReplenishReport());//SimpleFieldAssign//sourceId:415409_2
                    retElm.setApplyDelayDays(reportingTaskDto.getApplyDelayDays());//SimpleFieldAssign//sourceId:415410_2
                    retElm.setReplenishDelayDays(reportingTaskDto.getReplenishDelayDays());//SimpleFieldAssign//sourceId:415411_2
                    retElm.setActualDelayDays(reportingTaskDto.getActualDelayDays());//SimpleFieldAssign//sourceId:415412_2
                    retElm.setActualDelayTime(reportingTaskDto.getActualDelayTime());//SimpleFieldAssign//sourceId:415413_2
                    retElm.setPercentageProgress(reportingTaskDto.getPercentageProgress());//SimpleFieldAssign//sourceId:415414_2
                    retElm.setDeflectionInfo(reportingTaskDto.getDeflectionInfo());//SimpleFieldAssign//sourceId:415415_2
                    retElm.setQuestionDataTypeCode(reportingTaskDto.getQuestionDataTypeCode());//SimpleFieldAssign//sourceId:415416_2
                    retElm.setSubjectLifeCycle(reportingTaskDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:415417_2
                    retElm.setOperateTime(reportingTaskDto.getOperateTime());//SimpleFieldAssign//sourceId:415418_2
                    retElm.setCreateTime(reportingTaskDto.getCreateTime());//SimpleFieldAssign//sourceId:415419_2
                }
                retData.getReportingTaskList().add(retElm);
                if (queryListByTimeSliceContentVirtualOrgMemberComRespDto_1 != null) {
                    for (VirtualOrgMemberDto virtualOrgMemberDto : queryListByTimeSliceContentVirtualOrgMemberComRespDto_1.getVirtualOrgMemberList()) {
                        if (virtualOrgMemberDto.getVirtualOrgId().equals(reportingTaskDto.getVirtualOrgId())) {
                            if (queryListByTimeSliceContentVirtualOrgMemberComRespDto_1 != null) {
                                retElm.setVirtualOrgInductionRecordId(virtualOrgMemberDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:415420_2
                                retElm.setVirtualOrgMemberId(virtualOrgMemberDto.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:415421_2
                                retElm.setOriginalRoleMemberId(virtualOrgMemberDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:415422_2
                                retElm.setUserId(virtualOrgMemberDto.getUserId());//SimpleFieldAssign//sourceId:415423_2
                                retElm.setIdCardName(virtualOrgMemberDto.getIdCardName());//SimpleFieldAssign//sourceId:415424_2
                                retElm.setNickName(virtualOrgMemberDto.getNickName());//SimpleFieldAssign//sourceId:415425_2
                                retElm.setUserFace(virtualOrgMemberDto.getUserFace());//SimpleFieldAssign//sourceId:415426_2
                            }
                        }
                    }
                }

            }
        }//sourceId:1994504_1
        if (queryReportTaskListComRespDto_1 != null) {
            retData.setTotals(queryReportTaskListComRespDto_1.getTotals());//SimpleFieldAssign//sourceId:1995643_1
        }


        retData.setPageNum(queryReportTaskListComRespDto.getPageNum());
        retData.setPageSize(queryReportTaskListComRespDto.getPageSize());
        retData.setTotal(queryReportTaskListComRespDto.getTotalNum());
        retData.setIsLastPage((Math.ceil(Double.valueOf(queryReportTaskListComRespDto.getTotalNum()) / Double.valueOf(queryReportTaskListComRespDto.getPageSize()))) <= retData.getPageNum());


        return retData;
    }

    /**
     * B3执行导出汇报任务明细[10478]
     * gen by moon at 12/31/2024, 5:35:01 PM
     */
    @Trace(operationName = "B3执行导出汇报任务明细")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffImplementReportTaskExportDetailsRespDto implementReportTaskExportDetails(BffImplementReportTaskExportDetailsReqDto reqDto, ExportCallBack exportCallBack) {


        //virtualUsage D3查询汇报任务导出明细列表(公共)  73825
        QueryReportTaskExportDetailsListComRespDto queryReportTaskExportDetailsListComRespDto = null;
        QueryReportTaskExportDetailsListComReqDto queryReportTaskExportDetailsListComReqDto = new QueryReportTaskExportDetailsListComReqDto();
        queryReportTaskExportDetailsListComReqDto.setDashboradCoreTypeCode("DASHBOARD_ORG");//sourceId:2037889_1_73825
        queryReportTaskExportDetailsListComReqDto.setEvaObjEntityId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:2037892_1_73825
        queryReportTaskExportDetailsListComReqDto.setEvaObjTypeCode("EVA_OBJECT");//sourceId:2037893_1_73825
        if (reqDto != null) {
            queryReportTaskExportDetailsListComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:2037890_1_73825
            queryReportTaskExportDetailsListComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:2037891_1_73825
            queryReportTaskExportDetailsListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:2037894_1_73825
        }

        /*D3查询汇报任务导出明细列表(公共)[10477]   */
        Assert.isNull(queryReportTaskExportDetailsListComReqDto.getDashboradCoreTypeCode(), "B3执行导出汇报任务明细-D3查询汇报任务导出明细列表(公共)-大屏主体类型编码不能为空", false);
        Assert.isNull(queryReportTaskExportDetailsListComReqDto.getCycleId(), "B3执行导出汇报任务明细-D3查询汇报任务导出明细列表(公共)-归属周期ID不能为空", false);
        Assert.isNull(queryReportTaskExportDetailsListComReqDto.getParentSubMidCycleType(), "B3执行导出汇报任务明细-D3查询汇报任务导出明细列表(公共)-父子中周期类型不能为空", false);
        Assert.isNull(queryReportTaskExportDetailsListComReqDto.getEvaObjEntityId(), "B3执行导出汇报任务明细-D3查询汇报任务导出明细列表(公共)-主树被评对象内容表主键ID不能为空", false);
        Assert.isNull(queryReportTaskExportDetailsListComReqDto.getEvaObjTypeCode(), "B3执行导出汇报任务明细-D3查询汇报任务导出明细列表(公共)-主树被评对象类型编码不能为空", false);
        Assert.isNull(queryReportTaskExportDetailsListComReqDto.getEvaluationTemplateId(), "B3执行导出汇报任务明细-D3查询汇报任务导出明细列表(公共)-冗余评价模板ID不能为空", false);
        queryReportTaskExportDetailsListComRespDto = fwAppTaskClient.queryReportTaskExportDetailsListCom(queryReportTaskExportDetailsListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        if ((queryReportTaskExportDetailsListComRespDto != null && queryReportTaskExportDetailsListComRespDto.getReportingTaskList() != null && queryReportTaskExportDetailsListComRespDto.getReportingTaskList().size() > 0)) {
            //if(D3查询汇报任务导出明细列表(公共).汇报任务列表数据集条数 大于 0)  73826

            QueryEvaTempDetailComRespDto queryEvaTempDetailComRespDto = null;
            QueryEvaTempDetailComReqDto queryEvaTempDetailComReqDto = new QueryEvaTempDetailComReqDto();
            queryEvaTempDetailComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:2037925_1_73829
            if (reqDto != null) {
                queryEvaTempDetailComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:2037923_1_73829
            }

            /*D3查询评价模板详情(公共)[8468]   */
            Assert.isNull(queryEvaTempDetailComReqDto.getEvaluationTemplateId(), "B3执行导出汇报任务明细-D3查询评价模板详情(公共)-评价模板ID不能为空", false);
            Assert.isNull(queryEvaTempDetailComReqDto.getSubjectLifeCycle(), "B3执行导出汇报任务明细-D3查询评价模板详情(公共)-主体生命周期不能为空", false);
            queryEvaTempDetailComRespDto = fwAppEvaThemeClient.queryEvaTempDetailCom(queryEvaTempDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            ImplementTimeTurnToStringComRespDto implementTimeTurnToStringComRespDto = null;
            ImplementTimeTurnToStringComReqDto implementTimeTurnToStringComReqDto = new ImplementTimeTurnToStringComReqDto();
            implementTimeTurnToStringComReqDto.setComTimeField(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:2037948_1_73834

            /*D2-执行标准时间转换为字符串(公共)[6274]   */
            Assert.isNull(implementTimeTurnToStringComReqDto.getComTimeField(), "B3执行导出汇报任务明细-D2-执行标准时间转换为字符串(公共)-通用时间字段不能为空", false);
            implementTimeTurnToStringComRespDto = fwCompInterfaceModeClient.implementTimeTurnToStringCom(implementTimeTurnToStringComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            GenerateSemanticInstanceStoryComRespDto generateSemanticInstanceStoryComRespDto = null;
            if (queryEvaTempDetailComRespDto != null && implementTimeTurnToStringComRespDto != null) {
                GenerateSemanticInstanceStoryComReqDto generateSemanticInstanceStoryComReqDto = new GenerateSemanticInstanceStoryComReqDto();
                generateSemanticInstanceStoryComReqDto.setTemplateSemanticEngineCode("HIGH_LEVEL_EXPORT_REPORTING_TASK_DATA_FILE_NAMING");//CUSTOM_CONVENTION//sourceId:2037940_1_73832
                generateSemanticInstanceStoryComReqDto.setFirstFieldName("evaluationTempName");//CUSTOM_CONVENTION//sourceId:2037934_1_73832
                generateSemanticInstanceStoryComReqDto.setSecondFieldName("comTxtField");//CUSTOM_CONVENTION//sourceId:2037936_1_73832
                if (queryEvaTempDetailComRespDto != null) {
                    generateSemanticInstanceStoryComReqDto.setFirstFieldValue(queryEvaTempDetailComRespDto.getEvaluationTempName());//SimpleFieldAssign//sourceId:2037935_1_73832
                }
                if (implementTimeTurnToStringComRespDto != null) {
                    generateSemanticInstanceStoryComReqDto.setSecondFieldValue(implementTimeTurnToStringComRespDto.getComTxtField());//SimpleFieldAssign//sourceId:2037937_1_73832
                }

                /*D2生成语义实例故事(公共)[8234]   */
                Assert.isNull(generateSemanticInstanceStoryComReqDto.getTemplateSemanticEngineCode(), "B3执行导出汇报任务明细-D2生成语义实例故事(公共)-模板引擎标识不能为空", false);
                Assert.isNull(generateSemanticInstanceStoryComReqDto.getFirstFieldName(), "B3执行导出汇报任务明细-D2生成语义实例故事(公共)-第一个字段字段名不能为空", false);
                Assert.isNull(generateSemanticInstanceStoryComReqDto.getFirstFieldValue(), "B3执行导出汇报任务明细-D2生成语义实例故事(公共)-第一个字段字段值不能为空", false);
                Assert.isNull(generateSemanticInstanceStoryComReqDto.getSecondFieldName(), "B3执行导出汇报任务明细-D2生成语义实例故事(公共)-第二个字段字段名不能为空", false);
                Assert.isNull(generateSemanticInstanceStoryComReqDto.getSecondFieldValue(), "B3执行导出汇报任务明细-D2生成语义实例故事(公共)-第二个字段字段值不能为空", false);
                generateSemanticInstanceStoryComRespDto = fwCompTemplateEngineClient.generateSemanticInstanceStoryCom(generateSemanticInstanceStoryComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            }
            QueryConfItemMatchAnswerListComRespDto queryConfItemMatchAnswerListComRespDto = null;
            if (queryEvaTempDetailComRespDto != null) {
                QueryConfItemMatchAnswerListComReqDto queryConfItemMatchAnswerListComReqDto = new QueryConfItemMatchAnswerListComReqDto();
                queryConfItemMatchAnswerListComReqDto.setConfItemCode("HIGH_LEVEL_REPORTING_TASK_DATA_EXPORT_FIELD_RANGE");//CUSTOM_CONVENTION//sourceId:2037914_1_73830
                queryConfItemMatchAnswerListComReqDto.setResultAspObjType("EVA_THEME");//sourceId:2037915_1_73830
                queryConfItemMatchAnswerListComReqDto.setIsPlatData("FALSE");//sourceId:2037917_1_73830
                if (queryEvaTempDetailComRespDto != null) {
                    queryConfItemMatchAnswerListComReqDto.setResultAspObjId(queryEvaTempDetailComRespDto.getEvaluationSubjectId());//SimpleFieldAssign//sourceId:2037916_1_73830
                }

                /*D2-3查导出excel文件表头字段列表（评价主题）[2505]   */
                Assert.isNull(queryConfItemMatchAnswerListComReqDto.getConfItemCode(), "B3执行导出汇报任务明细-D2-3查导出excel文件表头字段列表（评价主题）-配置项标识不能为空", false);
                Assert.isNull(queryConfItemMatchAnswerListComReqDto.getResultAspObjId(), "B3执行导出汇报任务明细-D2-3查导出excel文件表头字段列表（评价主题）-开通对象ID不能为空", false);
                Assert.isNull(queryConfItemMatchAnswerListComReqDto.getResultAspObjType(), "B3执行导出汇报任务明细-D2-3查导出excel文件表头字段列表（评价主题）-开通对象类型编码不能为空", false);
                Assert.isNull(queryConfItemMatchAnswerListComReqDto.getIsPlatData(), "B3执行导出汇报任务明细-D2-3查导出excel文件表头字段列表（评价主题）-是否标准答案不能为空", false);
                queryConfItemMatchAnswerListComRespDto = fwCompConfSchemeClient.queryConfItemMatchAnswerListCom(queryConfItemMatchAnswerListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            }
            ImplementExportDatatoExcelComRespDto implementExportDatatoExcelComRespDto = null;
            if (generateSemanticInstanceStoryComRespDto != null && queryConfItemMatchAnswerListComRespDto != null && queryReportTaskExportDetailsListComRespDto != null) {
                ImplementExportDatatoExcelComReqDto implementExportDatatoExcelComReqDto = new ImplementExportDatatoExcelComReqDto();
                implementExportDatatoExcelComReqDto.setExportFileFormat("XLSX");//sourceId:2037898_1_73827
                if (generateSemanticInstanceStoryComRespDto != null) {
                    implementExportDatatoExcelComReqDto.setExportExcelFileName(generateSemanticInstanceStoryComRespDto.getObjectName());//SimpleFieldAssign//sourceId:2037897_1_73827
                }
                if (queryConfItemMatchAnswerListComRespDto != null && queryConfItemMatchAnswerListComRespDto.getConfSchemeItemResultList() != null && !CollectionUtil.isEmpty(queryConfItemMatchAnswerListComRespDto.getConfSchemeItemResultList())) {
                    implementExportDatatoExcelComReqDto.setExcelHeaderFieldDataList(//objList-to-objLists
                            queryConfItemMatchAnswerListComRespDto.getConfSchemeItemResultList().stream().map(item -> {
                                ExcelHeaderFieldDataDto elm = new ExcelHeaderFieldDataDto();
                                if (item != null) {
                                    elm.setExcelHeaderEnFields(item.getEndValue());//SimpleFieldAssign//sourceId:430746_2_73827
                                    elm.setExcelHeaderCnFields(item.getExtensionField1());//SimpleFieldAssign//sourceId:430747_2_73827
                                    elm.setExcelHeaderFieldSorting(Long.valueOf(item.getExtensionField2()));//SimpleFieldAssign//sourceId:430745_2_73827
                                }
                                return elm;
                            }).collect(Collectors.toList()));//objList-to-objLists//sourceId:2037895_1_73827
                }
                if (queryReportTaskExportDetailsListComRespDto != null && queryReportTaskExportDetailsListComRespDto.getReportingTaskList() != null && !CollectionUtil.isEmpty(queryReportTaskExportDetailsListComRespDto.getReportingTaskList())) {
                    implementExportDatatoExcelComReqDto.setExportDataList(//objList-to-objLists
                            queryReportTaskExportDetailsListComRespDto.getReportingTaskList().stream().map(item -> {
                                ExportDataDto elm = new ExportDataDto();
                                if (item != null) {
                                    elm.setExportDataFields1(item.getEvaluationTempName());//SimpleFieldAssign//sourceId:430748_2_73827
                                    elm.setExportDataFields2(item.getTaskName());//SimpleFieldAssign//sourceId:430749_2_73827
                                    elm.setExportDataFields3(item.getCycleStandardName());//SimpleFieldAssign//sourceId:430750_2_73827
                                    elm.setExportDataFields4(item.getStateCode() != null ? String.valueOf(item.getStateCode()) : "");//SimpleFieldAssign//sourceId:430751_2_73827
                                    elm.setExportDataFields5(item.getDeptShortName());//SimpleFieldAssign//sourceId:430752_2_73827
                                    elm.setExportDataFields6(item.getPersonLiableIdCardName() != null ? String.valueOf(item.getPersonLiableIdCardName()) : "");//SimpleFieldAssign//sourceId:430753_2_73827
                                    elm.setExportDataFields7(item.getDirectorIdCardName() != null ? String.valueOf(item.getDirectorIdCardName()) : "");//SimpleFieldAssign//sourceId:430754_2_73827
                                }
                                return elm;
                            }).collect(Collectors.toList()));//objList-to-objLists//sourceId:2037896_1_73827
                }

                /*D2执行数据导出excel(公共)[10476]   */
                Assert.isNull(implementExportDatatoExcelComReqDto.getExportExcelFileName(), "B3执行导出汇报任务明细-D2执行数据导出excel(公共)-导出excel文件名不能为空", false);
                Assert.isNull(implementExportDatatoExcelComReqDto.getExportFileFormat(), "B3执行导出汇报任务明细-D2执行数据导出excel(公共)-导出文件格式不能为空", false);
//      implementExportDatatoExcelComRespDto = fwCompInterfaceModeClient.implementExportDatatoExcelCom(implementExportDatatoExcelComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
                Map<String, Object> exportData = new HashMap<>();
                exportData.put("exportFileFormat", implementExportDatatoExcelComReqDto.getExportFileFormat());
                exportData.put("exportExcelFileName", implementExportDatatoExcelComReqDto.getExportExcelFileName());
                exportData.put("excelHeaderFieldDataList", implementExportDatatoExcelComReqDto.getExcelHeaderFieldDataList());
                exportData.put("exportDataList", implementExportDatatoExcelComReqDto.getExportDataList());
                exportCallBack.excute(exportData);


            }
        }

//        Map<String,Object> exportData = new HashMap<>();
//        exportData.put("exportFileFormat","xlsx");
//        exportData.put("exportExcelFileName","CHS");
//        ExcelHeaderFieldDataDto oneHeader = new ExcelHeaderFieldDataDto();
//        oneHeader.setExcelHeaderCnFields("目标");
//        oneHeader.setExcelHeaderFieldSorting(1l);
//
//        ExcelHeaderFieldDataDto twoHeader = new ExcelHeaderFieldDataDto();
//        twoHeader.setExcelHeaderCnFields("负责人");
//        twoHeader.setExcelHeaderFieldSorting(2l);
//        List<ExcelHeaderFieldDataDto> headerDataList = new ArrayList<>();
//        headerDataList.add(oneHeader);
//        headerDataList.add(twoHeader);
//        exportData.put("excelHeaderFieldDataList",headerDataList);
//
//        ExportDataDto oneRow = new ExportDataDto();
//        oneRow.setExportDataFields1("1");
//        oneRow.setExportDataFields2("CHS");
//
//        ExportDataDto twoRow = new ExportDataDto();
//        twoRow.setExportDataFields1("2");
//        twoRow.setExportDataFields2("CHS-CHS");
//
//        List<ExportDataDto> dataList = new ArrayList<>();
//        dataList.add(oneRow);
//        dataList.add(twoRow);
//
//        exportData.put("exportDataList",dataList);
//        exportCallBack.excute(exportData);
        BffImplementReportTaskExportDetailsRespDto retData = new BffImplementReportTaskExportDetailsRespDto();


        return retData;
    }
    //
}
